Visual Web Developer - jQuery Intellisense 未显示

发布于 2024-07-30 00:16:57 字数 397 浏览 4 评论 0原文

我正在尝试遵循本教程 - http://www.dotnetcurry .com/ShowArticle.aspx?ID=231&AspxAutoDetectCookieSupport=1

我将 vsdoc 文件和主 jQuery 脚本文件放在同一文件夹中,当我包含 jquery 文件时,启动时没有得到智能感知输入 $(,但是当我包含 jquery vsdoc 文件时,我确实得到了智能感知。

有什么想法吗?我期望 vs 自动从 vsdoc 加载智能感知。

感谢您的帮助!

I'm trying to follow this tutorial - http://www.dotnetcurry.com/ShowArticle.aspx?ID=231&AspxAutoDetectCookieSupport=1

I have both the vsdoc file and the main jQuery script files in the same folder, and when I include the jquery file, I get no intellisense when I start typing $(, but I do get intellisense when I include the jquery vsdoc file instead.

Any ideas? I'm expecting vs to automatically load the intellisense from the vsdoc.

Thanks for any help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

谁把谁当真 2024-08-06 00:16:57

您需要做的就是确保在自定义脚本页面顶部引用 vsdoc 文件:

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

由于 vsdoc 仅用于开发,因此我将其保存在本地计算机上的某个位置,然后在我制作的每个新项目中引用它。 无需将其包含在您的项目中。 只需确保您的参考路径准确即可。

all you need to do is make sure you reference the vsdoc file at the top of your custom scripts page:

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

since the vsdoc is only needed for development, i keep it somewhere on my machine locally and just reference it in every new project i make. there's no need to include it in your project. just make sure your reference path is accurate.

孤单情人 2024-08-06 00:16:57

您需要包含 jquery 文件并引用 vsdoc 文件。

You'll need to include the jquery file and reference the vsdoc file.

爱人如己 2024-08-06 00:16:57

检查您是否安装了 Visual Studio 的修补程序。

您可以在此处获取它以及有关如何操作的说明:

http://blogs.msdn.com/webdevtools/archive/2008/11/07/hotfix-to-enable-vsdoc-js -intellisense-doc-files-is-now-available.aspx

Check you have the hotfix for visual studio installed.

You can get it here, along with instructions on how to do it:

http://blogs.msdn.com/webdevtools/archive/2008/11/07/hotfix-to-enable-vsdoc-js-intellisense-doc-files-is-now-available.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文