Angular2的Intellisense [英] Intellisense for angular2

查看:98
本文介绍了Angular2的Intellisense的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Visual Studio 2015(实际上是Intellisense)存在一些问题.它无法识别角度语法.例如,如果我尝试编写* ngFor或* ngIf或[style.margin.px],我没有从Intellisense得到任何提示,但是当我手动编写代码并运行它时,一切正常.我尝试从NGPM安装AngularIntellisense,但没有做任何更改.我拥有VS 2015的所有最新更新.对此有什么解决方案?

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?

推荐答案

您可以使用Visual Studio代码.它提供了多种语言的Intellisense.实际上,这对angularjs开发非常有用.您只需要根据需要安装扩展,例如材料设计,引导带,JShint,CSS,AngularJS等.

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.

您可以在此处下载表单: https://code.visualstudio.com/ 您还可以使用SUBLIME编辑器

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

这篇关于Angular2的Intellisense的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆