When using eclipse, it is often nameless to pop out the following boxes, sometimes even dead loops. Seriously affect development efficiency.
The reason analysis is our project some JS code, eclipse validation when there are errors, in fact, there is no error. I don't know how eclipse is validated. I'd just as well cancel out the eclipse verification. Methods are as follows
1 Window->preference->java script->validator->errors/warnings->enable Javascript Sematic Validation
2 Find the. Project.xml in the project directory to remove the following code
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
< arguments>
</arguments>
</buildCommand>
Restart eclipse,ok! will not report a build when JS validation error. Finish the work!
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/Java/