1) Install the plugin of following id JSDT jQuery Integration 1.5.0 org.eclipselabs.jsdt.jquery_feature.feature.group
安装JSDT jQuery Integration插件(地址:http://svn.codespot.com/a/eclipselabs.org/jsdt-jquery/updatesite)
2) Go to Project Explorer--> Javascript Resources
Project Explorer视图下出现Javascript Resources, 右键单击-->Properties
3) Right click on it and go to properties.
4) Select "Add javascript library"
点击"Add javascript library"
5) Select "jQuery Library"
选择"jQuery Library"
6) You will get code completion as follows
亲测可用, js\html\jsp中都可以使用哦!
Enjoy.享受吧!
闲看 云卷云舒 风轻云淡