简体   繁体   English

Virtual Studio 2008 - ASP.NET - jQuery 1.7.1 VSDoc - JavaScript Intellisense?

[英]Virtual Studio 2008 - ASP.NET - jQuery 1.7.1 VSDoc - JavaScript Intellisense?

Does anyone have the location to download jQuery 1.7.1 VSDoc? 有没有人有下载jQuery 1.7.1 VSDoc的位置?

And also what to do to make it work? 以及如何使它工作? I current have the following and I am a getting massive error in the VSDoc when doing Ctr-Shift-J to update Intellisense: 我当前有以下内容,当我做Ctr-Shift-J来更新Intellisense时,我在VSDoc中遇到了大量错误:

<script type="text/javascript" src="includes/jquery.js"></script>
<% If (False) Then%>
    <script type="text/javascript" src="includes/jquery.vsdoc.js"></script>
<%  End If%>

I have both the Service Pack 1 and the Patch update to make VSDoc work in VS 2008. 我有Service Pack 1和Patch更新,以使VSDoc在VS 2008中运行。

It looks like the latest version of jQuery VSDoc is 1.7 not 1.7.1. 看起来jQuery VSDoc的最新版本是1.7而不是1.7.1。 Version 1.7 can be downloaded from here: http://appendto.com/community/jquery-vsdoc 可从此处下载1.7版: http//appendto.com/community/jquery-vsdoc

The vs doc is 1.7., but there's no big changes from 1.7. vs doc是1.7。但是从1.7开始没有大的变化。 to 1.7.1. 到1.7.1。

First, rename the 1.7. 首先,重命名1.7。 vsdoc to jquery-1.7.1-vsdoc.js vsdoc到jquery-1.7.1-vsdoc.js

Second, add the vsdoc file in jquery library folder. 其次,在jquery库文件夹中添加vsdoc文件。

Third, add a line in the javascript file or script section, like: /// <reference path="/javascript/library/jquery-1.7.1.min.js" /> 第三,在javascript文件或脚本部分添加一行,如: /// <reference path="/javascript/library/jquery-1.7.1.min.js" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM