的Visual Studio 2013 AngularJS IntelliSense支持

编程入门 行业动态 更新时间:2024-10-25 18:30:29
本文介绍了的Visual Studio 2013 AngularJS IntelliSense支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想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支持

本文发布于:2023-11-12 05:06:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580590.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Studio   Visual   IntelliSense   AngularJS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!