I have the javascript validation working good for my own code. I want to keep the validation. But when it comes to open source library, like jquery for example, the validation creates warnings.
I don't want warnings over a downloaded library. But I want to keep warnings for my code.
I know you can exclude files from validation in the "Preferences > Validation" window, but the javascript validation is not there ! I've looked each validator, the javascript validator is not there.
So how can I exclude specific files from the validation ?
Here is the list of validators I have : Screenshot
Thanks !
PS : I use Eclipse PDT.!
Go to Windows->Preferences->Validation. There would be a list of validators with checkbox options for Manual & Build, go and individually disable the javascript validator there.
well, probably I've managed to do what you need ;) It is a bit tricky. So my steps:
ScreenShot:
Really hope that it helps!
Following from Maxym's excellent answer: since I usually keep all my JavaScript libraries in one place and the Eclipse validator tends to find unusual errors (perhaps entirely false positives), I used the Add Multiple option and selected the folders that contained those libraries. No need to update each time you add a file!
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