You are here

Disable javascript validation in Eclipse project

AttachmentSize
jsvalidation.png40.61 KB

 

 

You can remove those javascript library from the validation process.

  1. Right click your project
  2. Select Properties -> JavaScript -> Include Path
  3. Select Source tab. ( It looks identical to Java Build Path Source tab )
  4. Expand JavaScript source folder
  5. Highlight Excluded pattern
  6. Click Edit button
  7. Click Add button next to Exclusion patterns box.
  8. You may either type Ant-style wildcard pattern, or click Browse button to mention the JavaScript source by name.

The information about JavaScript source inclusion/exclusion is saved into .settings/.jsdtscope file. Do not forget to add it to your SCM.

 

Here is how configuration looks with jquery files removed from validationenter image description here

 http://stackoverflow.com/questions/3131878/how-do-i-remove-javascript-validation-from-my-eclipse-project