This article mainly introduces how to remove js (JavaScript) verification errors from Eclipse. In Eclipse, js files often report errors. Follow these steps:
Step 1: remove the JS verification of eclipse: remove the check box before windows> preference> Java Script> Validator> Errors/Warnings> Enable Javascript Sematic validation. Step 2: right-click the project and choose properties> Builders to remove the check box before JavaScript Validator. If JavaScript Validator is not found in Builders. So go. modify the following content in the project file: Find the project directory and delete. <buildCommand> <name> org. eclipse. wst. jsdt. core. javascriptValidator </name> <arguments> </buildCommand> and <nature> org. eclipse. wst. jsdt. core. jsNature </nature> Note: modify. the project file may require you to restart eclipse, or close the project in eclipse, and then re-open the project. Step 3: copy the js file to a certain place, and then delete the js file that reported the error from eclipse. The error disappears, and then copy the js file. If it is not correct after the above steps, open the Problems view in Eclipse, select the relevant errors, and solve them as prompted.