Error reported by JQUERY in Eclipse import project

In fact, Eclipse will not have any effect on the error report of the jQuery mini version, but this × is really not very good-looking in the whole project. To find this solution on the Internet is actually to remove the verification function that comes with Eclipse. Anyway, Eclipse's js ability is really good. is very weak, the following is the reprinted article, personally verified to be effective:

----------------------------------------------------------------------------------------------------------

Handling of JavaScript error reporting in eclipse:
three places:
<1>"eclipse settings":
window->preference->Validator->Errors/Warnings->Enable Javascript Sematic validation Remove the hook in front of it;
<2>Find the corresponding hook in the workspace ".project" file:
remove the following section

<buildCommand>     
    <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>     
    <arguments>     
    </arguments>     
</buildCommand>

<3>"Delete the original js file and make a new copy! Because the previous one has been marked incorrectly by the project."

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326640486&siteId=291194637