The validation in Eclipse is catching what it deems "errors" in the framework I've been using just fine.
Project -> Properties -> Validation -> "Suspend all validators"
doesn't work.
Project -> Properties -> Javascript -> Validation -> Errors/Warnings -> [Unchecked] "Enable Javascript semantic validation"
doesn't work either.
Enabling the above-mentioned checkbox and setting all validation issues to "Ignore" doesn't work either.
Each time one of these settings changes, it does a build and immediately all the "errors" are found and subsequently prevent an otherwise known-good build.
You actually have to disable the global builder settings , to do that :
Right Click Project => Build Path => Configure Build Path => Builders
In the right hand side , make sure JavaScript Validator
is Unchecked, if not uncheck it.
Then Save the Configuration and make a clean build.
If you want to remove the JavaScript validation from a project completely, you can just remove it from the .project file.
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
Now if you go into your project properties, you'll notice the JavaScript option is gone entirely.
Validation of .js files is handled by the JavaScript Validator, but that's a Builder, not something that plugs into the general Validation Framework. If you change the Errors/Warnings preferences, a Clean and build should show you the results.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With