您的位置:首页 > Web前端 > JQuery

为eclipse添加jquery自动提示插件

2014-11-10 15:10 375 查看

总觉得想写点js代码。写javascript吧eclipse支持,但现在流行jquery,我就在想怎么才能eclipse支持jquery函数自动提示功能,省的每次总是去翻看文档。

今天终于找到了这个插件。名字是 jquery  wtp

下载地址是:http://www.langtags.com/jquerywtp/?page_id=11。这个是官网的地址。

下面是集成到eclipse中步骤

也是官网中的步骤,英文很简单,就不翻译了,不会的自己有道。

step1:download jqueryWTP_version.jar
step2:find you Eclipse Plugin org.eclipse.wst.jsdt.core_version.jar,backup the plugin.
step3:double click the jar file or run with command java -jar jqueryWTP.version.jar
step4:on the opened swing UI,choose
4000
org.eclipse.wst.jsdt.core_version.jar,and output dir.
step5:click generate button.
step6:replace old org.eclipse.wst.jsdt.core_version.jar file with the generated file.
step7: delete directory workspace/.metadata/.plugins/org.eclipse.wst.jsdt.core

step8:start eclipse.
step9:open a html file or a js file,edit js content.

注意下第四步,找那个.jar文件,下划线”_“后面的version根据每个人安装不同版本的eclipse版本不同名字不同。直接找

org.eclipse.wst.jsdt.core_version.jar

是找不到的。

之后就可以了。

下面上图

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐