1. Spket的安裝:
(1)Plugin:
最低要求: eclipse平臺運行時3.2.x
(2)Spket IDE:
這是更新網站,為spket的ide 。
使用它,打開eclipse的updatemanager (在eclipse下的幫助菜單) ,并新增一個書簽為:
http://www.spket.com/update
2. Elipse開發jQuery環境設置(Spket):
首先需要安裝Spket,如上,之后進行JQuery的配置:
(1)從
http://jquery.com/下載開發用的Javascript文件
(2)配置Eclipse里面的Spket Javascript Profiles
1) 從window->Preferences...進去
2) 如上圖選擇Spket -> Javascript Profiles
3) 點擊New...輸入JQuery建立新的profile
4) 點擊Add Library,并選擇JQuery,建立新的Library
5) 點擊Add File, 選擇剛下載的JQuery文件
6) 如果想讓JQuery成為缺省的Javascript Profile,則點擊Default。
3.最后新建js文件。選擇openwith spket js editor
完成!!!