我想VS 2013应该有支持angularjs属性的智能感知?出于某种原因,它不是为我工作在最新版本的Microsoft Visual Studio旗舰版2013 12.0.21005.1
I thought VS 2013 is supposed to have support for angularjs attribute intellisense? For some reason it's not working for me on the latest version of Microsoft Visual Studio Ultimate 2013 version 12.0.21005.1
获取以下验证警告:属性'NG-应用'不是元素'HTML'一个有效的属性。结果属性'NG视图'不是元素'DIV'的一个有效的属性。
Getting the following validation warning: Attribute 'ng-app' is not a valid attribute of element 'html'. Attribute 'ng-view' is not a valid attribute of element 'div'.
难道我缺少某处一个xsd参考?
Am i missing an xsd reference somewhere?
推荐答案我有同样的问题,我做了以下和它帮助。
I had the same problem and I did the following and it helped.
如果您使用的是ReSharper的,您可以添加一个扩展,这将使你的智能感知,并不会引发警告。
If you are using ReSharper, you can add an extension that will give you Intellisense, and won't raise a warning.
在VS> ReSharper的>扩展管理器>搜索AngularJS顶部菜单这将增加角JS智能感知。
Top Menu in VS>Resharper>Extension Manager>Search AngularJS This will add angular js intellisense.
------- -------编辑的
-------EDIT-------
使用ReSharper的8.2.1
Using Resharper 8.2.1
更多推荐
的Visual Studio 2013 AngularJS IntelliSense支持
发布评论