Intellisense for angular2

╄→гoц情女王★ 提交于 2019-12-12 06:36:42

问题


There are some problems with my Visual Studio 2015, actually with Intellisense. It doesn’t recognize angular syntax. For example if I try to write *ngFor, or *ngIf, or [style.margin.px] I am not getting any hints from Intellisense, but when I manually write the code and run it, everything works fine. I’ve tried to install AngularIntellisense from NGPM, nothing changed. I have all the latest updates for VS 2015. Any solution for this?


回答1:


You can use visual Studio code. It provides the Intellisense for many languages . It is actually very good for angularjs development . You just need to install the extensions as per your need such as Material design , boot strap, JShint, CSS, AngularJS etc.

You can download form here: https://code.visualstudio.com/ You can also user SUBLIME editor



来源:https://stackoverflow.com/questions/38129998/intellisense-for-angular2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!