Enable javascript validation in eclipse luna - Stack Overflow

Sometime ago I asked this question:Enable javascript validation for eclipseI wanted eclipse to highlig

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
Add a ment  | 

2 Answers 2

Reset to default 4

To add JavaScript perspective to your project follow the steps below.

  1. Either right-click on the project and choose "Properties" or go to the top of Eclipse and select "Project Properties" from the menu.
  2. Choose "Project Facets" from the tree on the left.
  3. Click on "Convert to faceted form" link
  4. 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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745226226a4617473.html

相关推荐

  • Enable javascript validation in eclipse luna - Stack Overflow

    Sometime ago I asked this question:Enable javascript validation for eclipseI wanted eclipse to highlig

    5小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信