eclipseでjsエラーを閉じる方法

1078 ワード

eclipseにyuiを導入してエラーを報告して、validationを閉じた後に役に立たないで、ネット上でこの文章を探し当てます.
Question:
The validation in Eclipse is catching what it deems“errors”in the frame ework I've been using just fine.Project -> Properties -> Validation -> "Suspend all validators" doesn't work.Project -> Properties -> Javascript -> Validation -> Errors/Warnings -> [Unchecked] "Enable Javascript semantic validation" doesn't work either.Enbaling the above-mentionned checkbox and setting all validation issues to「Ignore」doesn't work either.Each time one of these settings changes,it does a build and immediate all the「errors」are found and subsequently prevent an others known-good build.
 
Answer:
Right click your project Select Properties->JavaScript->Include Select Source tab(It look s simiar to the Java Build Path Source tab)Expand source folder Highlight Exclud pattern Click Edit button Click Add button next to Exclusion patterns box.Click Browse button and select the JavaScript source by name.