是否有工作的JSLint Eclipse插件? [英] Is there a working JSLint Eclipse plug-in?

查看:121
本文介绍了是否有工作的JSLint Eclipse插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以指向Eclipse的功能正常的 JSLint 插件?

Can anyone point to a functioning JSLint plug-in for Eclipse?

推荐答案

有一个插件这里,它可以正常工作。 (网站在2011年的某个时候)

更新网站是 http://update.rockstarapps.com/site.xml (site down 2012-07-24)

There is a plugin here and it works ok. (site is down sometime in 2011)
The update site is http://update.rockstarapps.com/site.xml (site down 2012-07-24)

您还可以运行 jslint4java 作为外部工具:

You can also run jslint4java as an external tool:


  1. 下载 jslint4java

  2. jslint4java.jar 某处

  3. 在Eclipse中添加外部工具配置(运行>外部工具>外部工具配置>程序>新建...):

  1. Download jslint4java
  2. Put jslint4java.jar somewhere
  3. Add an external tool configuration in Eclipse (Run > External Tools > External Tools Configurations > Program > New...):

Location: /usr/bin/java
          (or your path to javaw.exe)
Arguments: -jar /path/to/jslint4java.jar ${resource_loc}


现在,您可以在Project Explorer中选择一个js文件,并从外部工具菜单运行jslint4java。

Now you can select a js file in the Project Explorer and run jslint4java from the external tools menu.

这篇关于是否有工作的JSLint Eclipse插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆