Home > Web Front-end > JS Tutorial > body text

About removing js (JavaScript) verification errors in Eclipse (detailed answer)

亚连
Release: 2018-05-18 16:10:09
Original
1260 people have browsed it

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:

org.eclipse.wst. jsdt.core.javascriptValidator


andorg.eclipse.wst.jsdt.core.jsNature
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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!