笔者在安装JSLint的时候参考了网上的几种方法,现整理如下:
方法一:
?
Step One: Open Eclipse up on your machine and go to ‘Help’ -> ‘Install New Software’
Step Two: Click ‘add’ and to stuff the location with the following link:
?
https://svn.codespot.com/a/eclipselabs.org/mobile-web-development-with-phonegap/tags/jslint4java1/download then click ‘ok’.
Step Three: Selecting ‘Javascript Development Tools’ and ‘jslint4java’ and click next.
方法二:
?
Step One: Download jslint4java
Step Two: Put jslint4java.jar somewhere
Step Three: Add an external tool configuration in Eclipse:
Location: /usr/bin/java(or your path to javaw.exe)
Arguments: -jar /path/to/jslint4java.jar ${resource_loc}
方法三:
?
1. Help -> Install new software
2. Click the 'Add' button
Name : Rockstar Apps (or whatever you want)
Location : http://update.rockstarapps.com/site.xml
3. expend the selection and check Rockstar JsLint
4. Click 'Next'...again
5. Accept and install
(you'll have to hit okay when it prompts you about installing unsigned content).
6. Restart Eclipse...
资料参考
1、http://www.ibm.com/developerworks/cn/web/1105_linlin_jslint/
2、http://stackoverflow.com/questions/2741058/jslint-eclipse-plugin
3、http://www.andyjamesdavies.com/javascript/installing-jslint-on-eclipse-ide
方法一:
?
Step One: Open Eclipse up on your machine and go to ‘Help’ -> ‘Install New Software’
Step Two: Click ‘add’ and to stuff the location with the following link:
?
https://svn.codespot.com/a/eclipselabs.org/mobile-web-development-with-phonegap/tags/jslint4java1/download then click ‘ok’.
Step Three: Selecting ‘Javascript Development Tools’ and ‘jslint4java’ and click next.
方法二:
?
Step One: Download jslint4java
Step Two: Put jslint4java.jar somewhere
Step Three: Add an external tool configuration in Eclipse:
Location: /usr/bin/java(or your path to javaw.exe)
Arguments: -jar /path/to/jslint4java.jar ${resource_loc}
方法三:
?
1. Help -> Install new software
2. Click the 'Add' button
Name : Rockstar Apps (or whatever you want)
Location : http://update.rockstarapps.com/site.xml
3. expend the selection and check Rockstar JsLint
4. Click 'Next'...again
5. Accept and install
(you'll have to hit okay when it prompts you about installing unsigned content).
6. Restart Eclipse...
资料参考
1、http://www.ibm.com/developerworks/cn/web/1105_linlin_jslint/
2、http://stackoverflow.com/questions/2741058/jslint-eclipse-plugin
3、http://www.andyjamesdavies.com/javascript/installing-jslint-on-eclipse-ide
本文详细介绍了在Eclipse中安装JSLint的三种方法:使用Eclipse的插件管理器、手动下载并配置JS文件、通过安装软件包进行安装。提供了详细的步骤和参考资料。
205

被折叠的 条评论
为什么被折叠?



