The following are the answers to the questions I have compiled for you about Eclipse removing js (JavaScript) verification errors. Interested students can take a look.
This article mainly introduces the removal of js (JavaScript) verification errors in Eclipse. In Eclipse, js files often report errors. It can be solved through the following steps
The first step:
Remove the JS verification of eclipse:
Change windows->preference->Java Script->Validator->Errors/Warnings ->
Remove the check mark in front of Enable Javascript Sematic validation;
Step 2:
Right-click the project-> properties -> Builders and remove the check mark in front of JavaScript Validator
If in Builders There is no JavaScript Validator. Then modify the following content in the .project file:
Find the project directory and delete the following parts of the .project file in the project directory:
and
Note that modifying the .project file may require restarting eclipse, or closing the project in eclipse and then reopening the project.
The third step:
Copy the js file somewhere, and then directly delete the js file reporting the error from eclipse. The error disappears, and then copy in the
js file just now.
If it still doesn’t work after doing the above, open the Problems view in Eclipse, select the relevant error, and solve it according to the prompts.
The above is what I compiled for everyone. I hope it will be helpful to everyone in the future.
Related articles:
Node.js Detailed explanation of the steps to implement JWT user authentication in Koa
Dynamic Introduction of js Summary of four methods
Summary of JS synchronization, asynchronous and lazy loading implementation
The above is the detailed content of About removing js (JavaScript) verification errors in Eclipse (detailed answer). For more information, please follow other related articles on the PHP Chinese website!