Eclipse: Javascript validation disabled. But why is it still generating errors? Eclipse: Javascript validation disabled. But why is it still generating errors? javascript javascript

Eclipse: Javascript validation disabled. But why is it still generating errors?


  1. Right click your project
  2. Select Properties -> JavaScript -> Include
  3. Select Source tab (It looks similar to the Java Build Path Source tab)
  4. Expand source folder
  5. Highlight Excluded pattern
  6. Click Edit button
  7. Click Add button next to Exclusion patterns box.
  8. 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.