第一種方法:
MyEclipse/Eclipse 中安裝JQuery插件(Plugin) Aptana
Eclipse Update Site: http://download.aptana.org/tools/studio/plugin/install/studio
Detailed Directions:
- From the Help menu, select Software Updates and select Add/Remove Software.... .
- In the Add/Remove Software.... view click Add .
- In the Add/Remove Software.... view click Add Site .
-
Work with:
URL: http://download.aptana.org/tools/studio/plugin/install/studio
Name:JQuery Plugin From Aptana
Click ok.
- In the Add/Remove Software.... view , select JQuery Plugin From Aptana, and click the Apply button to the license page.
- Choose the option to accept the terms of the license agreement, and click the Finish button.
Manual Installation: Download the Plugin Update Site
- Download Studio 2.0 Plugin zip.
- From the Help menu, select Software Updates and select Add/Remove Software.... .
- In the Add/Remove Software.... view click Add .
- In the Add/Remove Software.... view click Add Archive... . and select the file saved in step 1.
- In the Add/Remove Software.... view , select you want choose, and click the Apply button to the license page.
- Choose the option to accept the terms of the license agreement, and click the Finish button.
第二種方法:
從remote site中安裝插件http://www.spket.com/update/
從網站上下載下傳未壓縮版本的jquery.js,最好是1.2.6
打開window -> preference -> 配置spket -> javascript profiles -> new -> Jquery -> Add File ->
jquery1.2.6.js
Configure Project Specific Settings -> 選中自己的項目 -> 配置使用jquery 配置。
重新啟動eclipse , 就可以在自己的項目中進行jquery的支援自動完成的開發了。
第三種方法:
對于目前的MyEclipse的插件安裝是很簡單的,把spket1.6.18破解版.zip解壓後直接複制到MyEclipse安裝目錄的 dropins檔案夾下
安裝完成後,啟動MyEclipse,打開window—Preferences會發現多處了spket選項:
選擇spket下的JavaScript Profiles:
點選NEW按鈕建立,取名為JQ,重複第二種方法
轉自:http://peiandsky.blog.163.com/blog/static/8274134201032335442760/