VS2008 SP1 Hotfix to Support "-vsdoc.js" IntelliSense Doc Files

VS2008 SP1 Hotfix to Support "-vsdoc.js" IntelliSense Doc Files

Rate This
  • Comments 60

Last week I mentioned we would be releasing a Hotfix to accompany our new jQuery VSDoc file.  This Hotfix is now available at the MSDN Code Gallery.  Here's a direct download link for this small (2MB) patch:

http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736

I want to emphasize that this patch is intended for all JavaScript files, not just those related to jQuery.  Generally, we will opportunistically look for documentation files related to the script file.  For example, given "mylibrary.js", we will search in the same directory for:

  • mylibrary-vsdoc.js, then if we don't find it we will search for...
  • mylibrary.debug.js, then if we don't find it we will search for...
  • mylibrary.js

The idea here is to keep the documentation file next to your runtime file, and we'll automatically pick the right one.  If you already have a whole bunch of annotated "dot debug" files, there's no need to rename all your files since we search for those also.  This logic applies to all places where script file reference are mentioned.  To recap, those place are:

  • Plain HTML script tags.
  • ASP.NET Script Manager tags (and Script Manager Proxy too).
  • XML Doc Comment Reference tags.

By the way, Hotfixes are normally targeted at the latest public Visual Studio release, which today is VS2008 SP1.  If you're using VS2008 you will need to upgrade to SP1 before taking advantage of this patch.  We hope this will help simplify your code a bit!

Jeff King
Program Manager
Visual Studio Web Tools

Leave a Comment
  • Please add 7 and 6 and type the answer here:
  • Post
  • For Web-resources or Embedded Resource

    /// <reference path="~/jquery-1.2.6.js" />

    is useless.

  • I installed it on the 64 bit edition in 2008, the intellisense is working fine if I put the javascript embedded in the html/aspx file but does not work fully if I put it on a separate .js file.

    Thanks

  • @jojobar: Could you post/share the syntax you used and the relative file location of the script?  Often times there's a problem with the syntax.  Thanks!

  • I started this last week working with jQuery with ASP.NET. I have a different post in process that discusses

  • 原文地址】jQueryIntellisenseinVS2008

    【原文发表日期】Friday,November21,20082:07AM

    上个月,我在博客里宣布了微软将对jQ...

  • JQuery IntelliSense in VS 2008

  • Microsoft 现在完全支持 jQuery 并将它集成在ASP.NET MVC 框架。jQuery-vsdoc.js文件,该文件对串连的jQuery selector方法的JavaScript i

  • RichIntelliSenseforjQueryUpdate:AnewHotfixisavailbletocomplementthisfile.Awhileback...

  • 上个月,我在博客里宣布了微软将对jQuery提供支持。在过去的几个星期里,我们与jQuery开发团队合作,在Studio2008和VisualWebDeveloper2008Expres...

  • 本系列文章导航

    从零开始学习jQuery(一)开天辟地入门篇

    从零开始学习jQuery(二)万能的选择器

  • 一.摘要

    本系列文章将带您进入jQuery的精彩世界,其中有很多作者具体的使用经验和解决方案,

  • 一.摘要

    本系列文章将带您进入jQuery的精彩世界,其中有很多作者具体的使用经验和解决方案,

  • 一.摘要

    本系列文章将带您进入jQuery的精彩世界,其中有很多作者具体的使用经验和解决方案,

  • http://www.cnblogs.com/tonybinlj/archive/2009/05/26/1490434.html 启用Visual Studio 对jQuery的智能感知 首先看一下...

  • jQuery,很早我就知道有这么一套脚本库了,资料也不知不觉的收集了一大堆,但是没有认真看过,一是贪玩,二是没有这方面的需求。“没有压力就没有动力”,有压力,人们才会有动力,有压力,才能促使我们不断进...

Page 4 of 4 (60 items) 1234