Visual Studio 2013 AngularJS intellisense support

后端 未结 12 1208
长情又很酷
长情又很酷 2020-12-04 13:28

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 Studi

12条回答
  •  渐次进展
    2020-12-04 13:48

    I know this post is old and the question specifically refers to VS 2013, however if you're still running VS 2010 and want to apply puargs solution you can find the file at C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\schemas\html\html_5.xsd.

    You'll want to add puargs' code within the section.

    Mads Kristensen also discusses [applying this solution to VS 2012]1 and provides a link to an updated version of 2012's commonHTML5Types.xsd in Step 2.

    Also note that both puargs and Mads listings are missing an attribute on ng-view that causes an "attribute name must be followed by an equal (=) sign" warning. The complete element is: vs:standalone="true"/>.

提交回复
热议问题