Arquivo da categoria: Eclipse

How to disable JavaScript validation from Eclipse

Hi guys

Eventually I have had some errors in my Web project (Java) that isn’t compilation error from Java code, these errors are in some JavaScript files. It happens because Eclipse has a JavaScript validation feature that checks all “.js” files from the project.
That validation should be very useful in most of cases, but I do not write many JavaScript code often. But the main reason I decided to disable the validation was because the error I got was in the jQuery library (just in .min version), so if you got the same errors don’t worry, just follow the steps bellow to disable the validation.

1- Right click your project
2- Select “Properties > Builders”
3- Uncheck the “JavaScript Validations”

If you still got the errors just refresh the project press “F5”.

That’s all