Skip to content Skip to sidebar Skip to footer

Enable Javascript Validation For Eclipse

First: I searched a lot and I can't find anyone to have this problem (it seems like it something basic, but I have been 2 hours dealing with this). My problem is that long ago I ha

Solution 1:

You need to add the JavaScript "nature" to the project (basically, tell Eclipse to treat it as a JavaScript project). Right-click on the project and choose Configure > Convert to JavaScript Project.... After doing that you should see a Builder named "JavaScript Validator" and have the JavaScript section in the properties.

Solution 2:

Regardless of what settings I enabled my Eclipse Javascript IDE (Neon) still didn't work.

I switched to an older Eclipse EE IDE (Kepler SP2) and that worked.

Maybe my old Mac OS X 10.7 has some issues with the newer version, or EE is better at compiling javascript than the simple Eclipse Javascript IDE.

Post a Comment for "Enable Javascript Validation For Eclipse"