Eclipse的WTP支持Javascript的代码补全功能
但是很简单,而且不支持jQuery
jQueryWTP的目的就是让Eclipse WTP支持jQuery
需要说明的是该插件对于MyEclipse等基于Eclipse WTP的工具也是支持的
项目主页是
http://www.langtags.com/jquerywtp/index.html
下载地址:http://sourceforge.net/project/showfiles.php?group_id=202840
安装方法:
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.
1.请用jdk6
2.运行命令是 java -jar jqueryWTP.version.jar
它的意识就是根据原有文件(org.eclipse.wst.javascript.ui_xxxxxxx.jar),生成一个新文件,其中加入jQuery 功能,然后我们再手动替代原有文件。
3.安装成功,就是能显示函数,能点(.)出来。但仅限html,如附件。
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> quickSearch jQuery plug-in - Large table</title>
<script src="../../js/jquery-1[1].2.6.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/jquery.quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function () {
$('table#large tbody tr').quicksearch({
attached: "table#large",
position: "before",
stripeRowClass: ['r1', 'r2', 'r3'],
labelText: 'Please input the search word...',
loaderText: 'Is searching...',
inputText: 'Search table'
});
});
</script>[/code]
但是很简单,而且不支持jQuery
jQueryWTP的目的就是让Eclipse WTP支持jQuery
需要说明的是该插件对于MyEclipse等基于Eclipse WTP的工具也是支持的
项目主页是
http://www.langtags.com/jquerywtp/index.html
下载地址:http://sourceforge.net/project/showfiles.php?group_id=202840
安装方法:
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.
1.请用jdk6
2.运行命令是 java -jar jqueryWTP.version.jar
它的意识就是根据原有文件(org.eclipse.wst.javascript.ui_xxxxxxx.jar),生成一个新文件,其中加入jQuery 功能,然后我们再手动替代原有文件。
3.安装成功,就是能显示函数,能点(.)出来。但仅限html,如附件。
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> quickSearch jQuery plug-in - Large table</title>
<script src="../../js/jquery-1[1].2.6.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/jquery.quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function () {
$('table#large tbody tr').quicksearch({
attached: "table#large",
position: "before",
stripeRowClass: ['r1', 'r2', 'r3'],
labelText: 'Please input the search word...',
loaderText: 'Is searching...',
inputText: 'Search table'
});
});
</script>[/code]
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/2519/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
评论列表