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)

enter image description here


2) Go to Project Explorer--> Javascript Resources

Project Explorer视图下出现Javascript Resources, 右键单击-->Properties

enter image description here


3) Right click on it and go to properties.


4) Select "Add javascript library"

点击"Add javascript library"

enter image description here


5) Select "jQuery Library"

选择"jQuery Library"

enter image description here


6) You will get code completion as follows

亲测可用, js\html\jsp中都可以使用哦!

enter image description here

Enjoy.享受吧!

posted on 2013-10-18 16:30  冰墨白  阅读(314)  评论(0编辑  收藏  举报