eclipsesource / jshint-eclipse

JSHint integration for the Eclipse IDE
http://github.eclipsesource.com/jshint-eclipse/
146 stars 31 forks source link

Creating .settings/com.eclipsesource.jshint.ui.prefs should enable JSHint #79

Closed davidparsson closed 10 years ago

davidparsson commented 10 years ago

We're using a script to set up our development environment. That script creates Eclipse configurations for plugins, including JSHint in .settings/com.eclipsesource.jshint.ui.prefs.

Our prefs file looks like this:

eclipse.preferences.version=1
included=test//*.js\:src//*.js
projectSpecificOptions=true

However, for JSHint to be enabled, a developer must still open the JSHint preferences for each project, modify something in the JSHint settings and save.

Is that a bug, or are we missing something?

ralfstx commented 10 years ago

Saving the settings will add the builder com.eclipsesource.jshint.ui.builder to the .project file. If the builder is missing, the JSHint validator will not run. This issue is related to #29.

davidparsson commented 10 years ago

Thanks, you're right. That resolved it.