如何使用jQuery NuGet软件包1.8.0附带的intellisense.js文件而不是vsdoc.js?

问题描述:

我刚刚发现jQuery NuGet软件包的最新版本(1.8.0)包括新的vsdoc文件类型,我找不到任何文档. intellisense文件仅包含jQuery库的基于xml注释的文档.我不确定如何使用此文件.

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.

您对此有任何想法或文件吗?我为此项目使用VS2012.

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

在JavaScript文件中,JavaScript语言服务为添加到项目中的第三方JavaScript库提供了IntelliSense功能.对于大多数库,语言服务会自动提供语句完成.下图显示了语句完成的示例:

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:

在Visual Studio 2012中,Visual Studio将自动查找".intellisense.js"文件,并将其像旧的vsdoc文件一样使用,而无需编写真正的JavaScript结构.

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

有关其他信息,请查看以下链接.

For additional information, please look at the following link.

扩展JavaScript IntelliSense