一、jQueryWTP的安装方法(官方):
step1:download jqueryWTP_version.jar
step2:find you Eclipse Plugin org.eclipse.wst.javascript.ui_xxxxxxx.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 org.eclipse.wst.javascript.ui_xxxxxxx.jar,and output dir.
step5:click generate button.
step6:replace old org.eclipse.wst.javascript.ui_xxxxxxx.jar file with the generated file.
step7:restart eclipse.
step8:open a html file,edit js content.
jQueryWTP插件项目的主页:http://www.langtags.com/jquerywtp/
但是下载完 jqueryWTP0.31foCN.jar后,根据安装教程里都提到了一个plugin目录下的 org.eclipse.wst.javascript.ui_xxxxxxx.jar文件,但是我的eclipse目录想压根就找不到这个文件,所以也要就不能使用jQueryWTP插件智能提示.
后来仔细查看jQueryWTP插件项目的主页,有这么一句话,Eclipse的WTP支持Javascript的代码补全功能,但是很简单,而且不支持jQuery,jQueryWTP的目的就是让Eclipse WTP支持jQuery,需要说明的是该插件对于MyEclipse等基于Eclipse WTP的工具也是支持的.
根据这句话可以猜想找不到 plugin目录下的org.eclipse.wst.javascript.ui_xxxxxxx.jar文件的原因,可能是没有安装eclipse WTP插件,由于下面两种方法顺利安装并且支持jQuery智能提示,所以这里的猜想还没有经过验证.
二、Spket的安装方法(两种方式):
1.在线安装:Help->Install New Software...->Add...->Name: "Spket",
Location:http://www.spket.com/update/ 下载完毕重启Eclipse.
2.手动安装:到http://www.spket.com/download.html下载 Plugin 版本,当前版本为1.6.17.下载解压后直接放置于Eclipse的dropins目录下,重启Eclipse.
3.下载jQuery文件,(要下载开发版本).
4. 设置spket ,Window -> Preferences -> Spket -> JavaScript Profiles -> New,输入“jQuery”点击OK; 选择“jQuery” 并点击“Add Library”然后在下拉条中选取“jQuery”;选择 “jQuery”并点击“Add File”,然后选中你下载的jQuery.js 文件;设成Default;
5.设置js打开方式 (这一步很重要,不设置的话,也不会有jQuery的智能提示), Window -> Preferences ->General-> Editors-> File Associations-> 选择*.js,将Spket JavaScript Editor设为Default。
6.新建一个js文件,jQuery自动提示!!
三、Aptana的安装方法:
Aptana的安装相对比较简单,直接安装完毕就支持jQuery的智能提示,而且智能提示功能也比较强大,按照下面的安装就能使用,强烈建议初学者可以使用这种方法安装:
1.在线安装:Help->Install New Software...->Add...->Name: "Aptana",
Location:http://download.aptana.com /tools/studio/plugin/install/studio下载完毕重启Eclipse,Aptana插件安装成功,支持 javascript智能提示功能,但还不支持jQuery智能提示,需要再安装支持jQuery智能提示的插件.
2.Window->My Studio打开Aptana的首页,单击首页上面的Plugins,选择Ajax下面的jQuery Support,单击Get It即可安装jQuery智能提示的插件
3.新建一个js文件就会有jQuery智能提示了.
另外 ,如果这三个插件都安装成功的话,想选择其中一个插件使用,应该如果操作呢?方法如下:
Window->Preferences->General->Editors->File Associations,选择”*.js”,再选择”Aptana JS Editor”或”Spket JavaScript Editor”设置为默认即可.
分享到:
相关推荐
Eclipse的jQuery插件 jQueryWTP
在Eclipse中安装jQueryWTP及具体的安装步骤。
第一步:下载jqueryWTP_version.jar 第二步:找到你Eclipse插件org.eclipse.wst.jsdt.core_version.jar,备份插件。 第三步:双击jar文件或运行命令java - JAR jqueryWTP.version.jar 第四步:在打开的Swing用户界面...
jqueryWTP下载地址:http://code.google.com/a/eclipselabs.org/p/jquerywtp/downloads/list jQueryWTP是一个让Eclipse WTP支持jQuery Javascript代码自动补全功能的Eclipse插件。 第一步:下载jqueryWTP_...
根据官网说明,为Eclipse按装jquery 插件 JqueryWTP
step1:download jqueryWTP_version.jar step2:find you Eclipse Plugin org.eclipse.wst.javascript.ui_xxxxxxx.jar,backup the plugin. step3:double click the jar file or run with command java -jar jqueryWTP....
jquery Eclipse插件spket+jqueryWTP_version,文件及使用说明.
jqueryWTP0.2forJQuery1.2.6.rar,jquery的eclipse插件
jQueryWTP一个让Eclipse WTP支持jQuery Javascript代码自动补全功能的Eclipse插件。
破解eclipse,提示jQuery JDK1.6以上,双击 破解org.eclipse.wst.jsdt.core.jar替换 删除workspace\.metadata\.plugins下org.eclipse.wst.jsdt.core文件夹, 重启eclipse
Eclipse的WTP支持Javascript的代码补全
运行刚下载的jar文件,或用命令java -jar jqueryWTP.version.jar 4. 在打开的swing窗口中的第一个文本框选择org.eclipse.wst.javascript.ui_xxxxxxx.jar,在输出目录中选择您要输出的目录,如c:\ 5. 点击...
jQueryWTP一个让Eclipse WTP支持jQuery Javascript代码自动补全功能的Eclipse插件。 支持jquery 1.6
eclipse支持jquery的提示插件。使用步骤: 1、找到eclipse插件文件plugins 类似org.eclipse.wst.jsdt.core_version.jar备份 2、把此文件覆盖插件文件plugins原来的文件。 3、删除工作空间下文件:workspace/....