在eclipse luna中启用javascript验证 [英] Enable javascript validation in eclipse luna
问题描述
前段时间我问了这个问题:
以获取更多详细信息。
Sometime ago I asked this question: Enable javascript validation for eclipse
I wanted eclipse to highlight javascript errors/warnings.. The problem as you can see in the answer was that the project was not configured as Javascript Nature. Now I migrated to Eclipse Luna and have the same problem.. But now I cannot find anywhere the option to configure the project. Is there any other way?
Partial response (coz Need ans asked in comment): you can convert your project to a JavaScript project by adding the following nature to the .project
file contained at the root of your project:
</projectDescription>
//... other project settings
<natures>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
If you are not able to find .project
see Showing or hiding files in the Project Explorer view for more details.
这篇关于在eclipse luna中启用javascript验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!