How to remove js (JavaScript) verification errors in Eclipse _ javascript tips-js tutorial

Source: Internet
Author: User
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 JS verification from eclipse:
Choose 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 mark before JavaScript Validator.
If no JavaScript Validator item exists in Builders. 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


And Org. eclipse. wst. jsdt. core. jsNature
Note: modifying 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
Copy js files.

If it is not correct after the above steps, open the Problems view in Eclipse, select the relevant errors, and solve them as prompted.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.