I’m still using Brackets as my primary editor, but as I use CFBuilder more and more I run into things that I think may be helpful to others. Today – it is adding JSHint support. I’m a huge fan of JSHint so I did a quick Google to see if there was an Eclipse plugin for it.
Turns out – there was: jshint-eclipse. Screen shot stolen from the web site:
However, to install this in ColdFusion Builder, you may want to be careful when using the Update functionality. The update URL for CFB is currently broken and will throw an error. It tends to return quite a bit too. When you select the option to install new software, you should click past the initial error and then select “Kepler Repository” in the Work with drop down.
The error you see comes from the fact that the CFB update site wasn’t set up properly yet. This is being fixed now. As in – very soon. Maybe even by the time you read this. Anyway, I followed the directions at the install page for jshint-eclipse and grabbed “Eclipse Marketplace”, mainly because it looked kinda slick. That worked great.
There is a little downward caret on the upper right side of the panel that lets you filter to the current selection, which is not selected text in the current file, but the selected file.
Hope this helps!