javascripteclipsevalidationjsdteclipse-jsdt

Seems impossible to disable JavaScript validation in eclipse


I know that there are many questions on stackoverflow regarding this issue, but none of them solve the issue at all and I need deeper insight into this problem. I have tried everything that everyone suggested and more, to no avail whatsoever.

I have:

And yet JavaScript is still validated (improperly, of course, because eclipse's JavaScript validation is terrible). This causes constant hangs and freezes and makes the experience so terrible I'm considering managing the whole project in Notepad++. I cannot understand how this could be so difficult to fix.

Any insight would be profoundly appreciated.

FWIW, it's a maven-based project using a wildfly archetype.


Solution

  • In the view menu of the Project Explorer choose Customize View...; then in the dialog in the Content tab disable JavaScript Elements.

    You also have to disable the Validation builder (right-click on project folder: Properties > Builders) and delete the errors in the Problems view to get rid of all JS errors.