-
Open the window in the Eclipse menu bar
-
将windows->preference
-
Go to Java Script->Validator->Errors/Warnings->Enable Javascript Sematic validation and remove the check;
-
Right-click the project -> properties -> Builders to remove the check mark in front of JavaScript Validator
-
If there is no JavaScript Validator in Builders. Then go to the .project file and modify the following: find the project directory, delete the following part of the .project file in the project directory: <buildCommand><name>org.eclipse.wst.jsdt.core.javascriptValidator</name><arguments ></arguments></buildCommand> and <nature>org.eclipse.wst.jsdt.core.jsNature</nature> Note that modifying the .project file may require restarting eclipse, or closing the project in eclipse, then restarting Open the project.
-
Methods to open .project
-
Copy the js file to a certain place, then delete the js file that reported the error directly from eclipse, the error disappears, and then copy the js file just now.
If the above is still not correct, open the Problems view in Eclipse, select the relevant errors, and solve them according to the prompts.
Eclipse removes JS validation
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326310558&siteId=291194637
Recommended
Ranking