How to use intellisense.js file that came with jQuery NuGet package 1.8.0 instead of vsdoc.js?

Soul_Master picture Soul_Master · Aug 17, 2012 · Viewed 30.1k times · Source

I just found that the lastest version (1.8.0) of jQuery NuGet package include the new type of vsdoc file that I cannot find any documentation. The intellisense file just only include xml comment-based document of jQuery library. I don't sure how to use this file.

intellisense file

Do you have any idea or document about this? I use VS2012 for this project.

Answer

Soul_Master picture Soul_Master · Feb 6, 2013

In JavaScript file, the JavaScript language service provides IntelliSense features for third-party JavaScript libraries that are added to a project. For most libraries, statement completion is provided automatically by the language service. The following illustration shows an example of statement completion:

enter image description here

In Visual Studio 2012, Visual Studio will automatically find ".intellisense.js" file and use it like old vsdoc file without writing real JavaScript structure.

enter image description here

For additional information, please look at the following link.

Extending JavaScript IntelliSense