Eclipse: Javascript validation disabled. But why is it still generating errors?
- Right click your project
- Select Properties -> JavaScript -> Include
- Select Source tab (It looks similar to the Java Build Path Source tab)
- Expand source folder
- Highlight Excluded pattern
- Click Edit button
- Click Add button next to Exclusion patterns box.
- Click Browse button and select the JavaScript source by name.
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.
- Open your project's .project file in a text editor.
- Remove the line
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
- Refresh your project
Now if you go into your project properties, you'll notice the JavaScript option is gone entirely.