Eclipse安装JSLint插件的几种方法

本文详细介绍了在Eclipse中安装JSLint的三种方法:使用Eclipse的插件管理器、手动下载并配置JS文件、通过安装软件包进行安装。提供了详细的步骤和参考资料。
  笔者在安装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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值