Issue
Can anyone point to a functioning JSLint plug-in for Eclipse?
Solution
There is a plugin href="http://www.rockstarapps.com/joomla-1.5.8/products/jslint-eclipse-plugin.html" rel="noreferrer">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:
- Download jslint4java
- Put
jslint4java.jar
somewhere - 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.
Answered By - Martin
Answer Checked By - Marilyn (JavaFixing Volunteer)