Eclipse jQuery plug-in(自動補全)
1,Eclipse 安裝 spket 插件。( 兩種方式):
線上安裝:Help->Install New Software...->Add...->Name: "Spket", Location: http://www.spket.com/update/ 下載下傳完畢重新開機 Eclipse 。
手動安裝:到http://www.spket.com/download.html 下載下傳 Plugin 版本,目前版本為1.6.17。下載下傳解壓後直接放置于Eclipse 的dropins目錄下,重新開機Eclipse 。
2,下載下傳jQuery 檔案,(要下載下傳開發版本)。
3,設定spket。
Window -> Preferences -> Spket -> JavaScript Profiles -> New;輸入“jQuery ”點選OK;選擇“jQuery ”并點選“Add Library”然後在下拉條中選取“jQuery ”;選擇 “jQuery ”并點選“Add File”,然後選中你下載下傳的jQuery .js檔案;設成Default;
4,設定js打開方式。
Window -> Preferences ->General-> Editors-> File Associations->選擇*.js 将 Spket JavaScript Editor設為Default。
5,建立一個js檔案,jQuery 自動提示!!
轉自:http://my.oschina.net/willSoft/blog/29481
Eclipse增加CSS插件_代碼高亮_自動補全-方法
1。下載下傳位址:http://sourceforge.net/projects/csseditor/
2。解壓縮複制到Eclipse > plugins
3。打開Eclipse。window > Perferences > General > Editors > File Associations
找到File types: *.css
選擇Associated editors: CSS Editor 為Default。
完成。
轉自:http://my.oschina.net/willSoft/blog/29480