Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse kepler - Disable javascript validation

I just installed the new eclipse kepler (eclipse 4.3). It shows me hundreds of errors and warnings from third party javascript libraries.

I tried to disable the javasscript validation completely by unchecking "Enable JavaScript semantic validation" in "Preferences/JavaScript/Validator", but with no effect - Errors and warnings are still shown.

Is there another option to disable them or is this just a bug?

enter image description here

Can other people confirm this issue or is it just me? :)

Edit 1: Lavie Tobey pointed out, i should set all validations to "ignore" -> did not help

enter image description here

Edit 2: Jim Garrison pointed out, i should disable the builder for the projects -> Actually I don't have a javascript builder in there. Disabled for testing purposes all of them, but did not help:

enter image description here

like image 307
jan Avatar asked Jun 26 '13 19:06

jan


3 Answers

You can go Project properties/Javascript/Include Path/source and exclude the third party components.

like image 163
pinoyyid Avatar answered Nov 19 '22 13:11

pinoyyid


There are two places you have to look. You have found the first. The second is in each project's Properties dialog, accessed by right-clicking on the project in Package Explorer and selecting "Properties". There, under Builders you may find a "Javascript Validation" entry, which you must disable.

You have to do this for every project that contains a Javascript Validation builder.

like image 34
Jim Garrison Avatar answered Nov 19 '22 11:11

Jim Garrison


Try this: Open the .project in notepad and remove the javascript validator

like image 1
Nair Avatar answered Nov 19 '22 11:11

Nair