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

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

问题描述

谁能指出一个功能正常的 JSLint Eclipse 插件?

解决方案

有个插件here 它工作正常.(网站在 2011 年某个时候关闭)
更新站点是http://update.rockstarapps.com/site.xml(网站于 2012-07-24 关闭)

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

  1. 下载jslint4java
  2. jslint4java.jar 放在某处
  3. 在 Eclipse 中添加一个外部工具配置(运行 > 外部工具 > 外部工具配置 > 程序 > 新建...):<上一页>位置:/usr/bin/java(或您的 javaw.exe 路径)参数:-jar/path/to/jslint4java.jar ${resource_loc}

现在您可以在项目资源管理器中选择一个 js 文件并从外部工具菜单中运行 jslint4java.

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

解决方案

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)

You can also run jslint4java as an external tool:

  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}
    

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

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

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