Visual Studio 2013 AngularJS intellisense support

后端 未结 12 1200
长情又很酷
长情又很酷 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:30

    You could also just run this from the package manager console in VS 2013: Install-Package AngularJS.Intellisense.

    0 讨论(0)
  • 2020-12-04 13:31

    If you are using ReSharper, try turning off ReSharper IntelliSense for HTML.

    ReSharper > Options > IntelliSense > General > Limited ReSharper IntelliSense

    Notes:

    • This does not provide AngularJS intellisense in ASP.NET files
    • You need to reopen HTML files in VS after the settings have been changed
    • Current version of ReSharper is 8.2
    0 讨论(0)
  • 2020-12-04 13:36

    You can also get rid of warnings:

    http://madskristensen.net/post/angularjs-intellisense-in-visual-studio-2012

    0 讨论(0)
  • 2020-12-04 13:40

    I had the same problem and I did the following and it helped.

    If you are using ReSharper, you can add an extension that will give you Intellisense, and won't raise a warning.

    Top Menu in VS>Resharper>Extension Manager>Search AngularJS This will add angular js intellisense.

    -------EDIT-------

    Using Resharper 8.2.1 Resharper Menu

    enter image description here

    0 讨论(0)
  • 2020-12-04 13:40

    I have not tried with vs2013, but could work. Working with vs2012. http://madskristensen.net/post/angularjs-intellisense-in-visual-studio-2012

    0 讨论(0)
  • 2020-12-04 13:45

    I just disabled resharper intellisense for HTML pages and got angular intellisense back on VS2013

    0 讨论(0)
提交回复
热议问题