Enable javascript validation in eclipse luna

前端 未结 3 1091
耶瑟儿~
耶瑟儿~ 2021-01-14 13:46

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

3条回答
  •  孤独总比滥情好
    2021-01-14 14:05

    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:

    
        //...  other project settings
        
            org.eclipse.wst.jsdt.core.jsNature
        
    
    

    If you are not able to find .project see Showing or hiding files in the Project Explorer view for more details.

提交回复
热议问题