admin管理员组文章数量:1415684
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?
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?
Share Improve this question edited May 23, 2017 at 12:13 CommunityBot 11 silver badge asked Jan 7, 2015 at 19:12 Pablo Matias GomezPablo Matias Gomez 6,8238 gold badges40 silver badges74 bronze badges 3- Which package of luna are you using? (Means: Java EE Developers, for Java Developers or etc..) – Sumit Singh Commented Jan 16, 2015 at 11:38
-
Eclipse for Java Developers:
Eclipse IDE for Java Developers Version: Luna Service Release 1a (4.4.1) Build id: 20150109-0600
Does this have something to do with the javascript validation? – Pablo Matias Gomez Commented Jan 16, 2015 at 12:43 - 1 Download "Eclipse IDE for Java EE Developers" and try Configure -> Convert to JavaScript Project... . Tell me if this option is still missing. eclipse/downloads/packages/eclipse-ide-java-ee-developers/… – Sumit Singh Commented Jan 19, 2015 at 6:02
2 Answers
Reset to default 4To add JavaScript perspective to your project follow the steps below.
- Either right-click on the project and choose "Properties" or go to the top of Eclipse and select "Project Properties" from the menu.
- Choose "Project Facets" from the tree on the left.
- Click on "Convert to faceted form" link
- Check the "JavaScript" check-box and and hit "OK" to close the dialog.
Steps to enable/disable validators in your project or workspace:
Click Window > Preferences and select Validation in the left pane. The Validation page of the Preferences window lists the validators available in your project and their settings.
To enable individual validators, clear the check boxes next to each
validator that you want to enable. Each validator has a check box to specify whether it is enabled for manual validation or on a build.Click OK.
Also there is an alternative solution available. Do check this out.
本文标签: Enable javascript validation in eclipse lunaStack Overflow
版权声明:本文标题:Enable javascript validation in eclipse luna - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745226226a2648619.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论