Intellisense doesn't work for JavaScript in Visual Studio 2012

后端 未结 8 1493
我在风中等你
我在风中等你 2020-11-28 01:02

I have a clean, out-of-the-box installation of Visual Studio 2012 Web Developer Express and for some reason the support for JavaScript (both jQuery, jQuery UI and

相关标签:
8条回答
  • 2020-11-28 01:59

    Use NuGet IntelliSense documentation package for JQuery by installing it like this from the NuGet console:

    Install-Package jQuery-vsdoc

    After you install the package go to:

    Tools>>Options>>Text Editor>>JavaScript>>Intellisense>>References

    and Add reference to Implicit(Web) group by selecting the installed package location on your hard drive.

    restart Visual Studio, and you will get the jQuery intellisense working.

    0 讨论(0)
  • 2020-11-28 02:00

    Summary:

    1. Drag the .js file you want to reference from Solution Explorer into your current one. (Visual studio will create a reference snippet.)
    0 讨论(0)
提交回复
热议问题