tep1:download jqueryWTP_version.jar
下载 jQueryWTP : http://code.google.com/a/eclipselabs.org/p/jquerywtp/downloads/list
我下载的是jqueryWTP1.00foCN.jar支持jquery和html5,是中文提示很好很强大。
step2:find you Eclipse Plugin org.eclipse.wst.javascript.ui_xxxxxxx.jar,backup the plugin.
在Eclipse或myEclipse中找到org.eclipse.wst.javascript.ui_xxxxxxx.jar
step3:double click the jar file or run with command java -jar jqueryWTP.version.jar
运行jqueryWTP.version.jar cmd下:java -jar jqueryWTP.version.jar
step4:on the opened swing UI,choose org.eclipse.wst.javascript.ui_xxxxxxx.jar,and output dir.
选择刚找到的org.eclipse.wst.javascript.ui_xxxxxxx.jar和输出目录
step5:click generate button.
点击generate
step6:replace old org.eclipse.wst.javascript.ui_xxxxxxx.jar file with the generated file.
将生成后的文件覆盖回Eclipse或myEclipse中(最好备份下)
step7:restart eclipse.
重启
step8:open a html file,edit js content.
可以happy啦