如何从WebMatrix 2 Beta中的vsdoc文件引用中获取JavaScript Intellisense?

问题描述:

我将JavaScript文件从Visual Studio复制到了新的WebMatrix 2 Beta项目中,只是发现vsdoc文件没有用于JavaScript Intellisense.

I copied a JavaScript file over from Visual Studio to a new WebMatrix 2 Beta project only to find out the vsdoc file wasn't being used for JavaScript Intellisense.

/// <reference path="jquery-1.6.4-vsdoc.js" />

JavaScript的核心功能确实显示在Intellisense中,但似乎没有从vsdoc文件中提取其他数据.

JavaScript's core functions do show up in Intellisense, but it doesn't appear to pull additional data from vsdoc files.

由于它们当前是将用户输入的内容输入到WebMatrix 2 Beta ,我为vsdoc JavaScript文件引用提供了支持. WebMatrix团队回答说,它已经受支持,但是语法有所不同,直到

Since they are currently taking user input on desired features in WebMatrix 2 Beta, I pitched support for vsdoc JavaScript file references. The WebMatrix team responded that it was already supported but the syntax was different until they change it to be more consistent with the current Visual Studio syntax. It is only different by one word.

/// <reference file="jquery-1.6.4-vsdoc.js" />

路径"语法在WebMatrix 2 Beta中尚不起作用,WebMatrix团队似乎打算继续支持它以与Visual Studio保持一致.如果由于某种原因,有人在WebMatrix 2 Beta项目和Visual Studio项目之间使用相同的* vsdoc.js文件(或在Visual Studio中管理WebMatrix用户的项目),则可以简单地涵盖这两个基础. WebMatrix文件" Visual Studio 2010不支持该语法.

While the "path" syntax doesn't work in WebMatrix 2 Beta yet, the WebMatrix team seemed intent on supporting it going forward for consistency with Visual Studio. If, for some reason, someone is using the same *vsdoc.js file between a WebMatrix 2 Beta project and a Visual Studio project (or managing a a WebMatrix user's project in Visual Studio), you could simply cover both bases. The WebMatrix "file" syntax does not appear to be supported by Visual Studio 2010.

/// <reference path="jquery-1.6.4-vsdoc.js" />
/// <reference file="jquery-1.6.4-vsdoc.js" />

附加说明:

WebMatrix 2 Beta似乎不支持新的段落分段(<para>)vsdoc文件.

Additional Note:

WebMatrix 2 Beta does not appear to support the new paragraph-sectioned (<para>) vsdoc files.