{"id":4024,"date":"2008-11-07T00:45:00","date_gmt":"2008-11-07T00:45:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/2008\/11\/07\/vs2008-sp1-hotfix-to-support-vsdoc-js-intellisense-doc-files\/"},"modified":"2008-11-07T00:45:00","modified_gmt":"2008-11-07T00:45:00","slug":"vs2008-sp1-hotfix-to-support-vsdoc-js-intellisense-doc-files","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/vs2008-sp1-hotfix-to-support-vsdoc-js-intellisense-doc-files\/","title":{"rendered":"VS2008 SP1 Hotfix to Support &#8220;-vsdoc.js&#8221; IntelliSense Doc Files"},"content":{"rendered":"<p>Last week I mentioned we would be releasing a Hotfix to accompany our <a href=\"http:\/\/blogs.msdn.com\/webdevtools\/archive\/2008\/10\/28\/rich-intellisense-for-jquery.aspx\">new jQuery VSDoc file<\/a>.&nbsp; This Hotfix is now available at the <a href=\"http:\/\/code.msdn.microsoft.com\/KB958502\">MSDN Code Gallery<\/a>.&nbsp; Here&#8217;s a direct download link for this small (2MB) patch:<\/p>\n<p><a title=\"http:\/\/code.msdn.microsoft.com\/KB958502\/Release\/ProjectReleases.aspx?ReleaseId=1736\" href=\"http:\/\/code.msdn.microsoft.com\/KB958502\/Release\/ProjectReleases.aspx?ReleaseId=1736\"><strong>http:\/\/code.msdn.microsoft.com\/KB958502\/Release\/ProjectReleases.aspx?ReleaseId=1736<\/strong><\/a><\/p>\n<p>I want to emphasize that <strong>this patch is intended for<\/strong> <strong>all JavaScript files, not just those related to jQuery<\/strong>.&nbsp; Generally, we will opportunistically look for documentation files related to the script file.&nbsp; For example, given &#8220;mylibrary.js&#8221;, we will search in the same directory for:<\/p>\n<ul>\n<li>mylibrary<strong>-vsdoc<\/strong>.js, then if we don&#8217;t find it we will search for&#8230;<\/li>\n<li>mylibrary<strong>.debug<\/strong>.js, then if we don&#8217;t find it we will search for&#8230;<\/li>\n<li>mylibrary.js<\/li>\n<\/ul>\n<p>The idea here is to keep the documentation file next to your runtime file, and we&#8217;ll automatically pick the right one.&nbsp; If you already have a whole bunch of annotated &#8220;dot debug&#8221; files, there&#8217;s no need to rename all your files since we search for those also.&nbsp; This logic applies to all places where script file reference are mentioned.&nbsp; To recap, those place are:<\/p>\n<ul>\n<li>Plain HTML script tags.<\/li>\n<li>ASP.NET Script Manager tags (and Script Manager Proxy too).<\/li>\n<li>XML Doc Comment <a href=\"http:\/\/blogs.msdn.com\/webdevtools\/archive\/2007\/11\/06\/jscript-intellisense-a-reference-for-the-reference-tag.aspx\">Reference<\/a> tags.<\/li>\n<\/ul>\n<p>By the way, Hotfixes are normally targeted at the latest public Visual Studio release, which today is VS2008 SP1.&nbsp; If you&#8217;re using VS2008 you will need to upgrade to SP1 before taking advantage of this patch.&nbsp; We hope this will help simplify your code a bit!<\/p>\n<p><b>Jeff King<\/b> <br>Program Manager <br>Visual Studio Web Tools<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I mentioned we would be releasing a Hotfix to accompany our new jQuery VSDoc file.&nbsp; This Hotfix is now available at the MSDN Code Gallery.&nbsp; Here&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":404,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[7279,31,7276,7277,7274,7302,7316,7319],"class_list":["post-4024","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","tag-ajax","tag-asp-net","tag-intellisense","tag-jeff-king","tag-jscript","tag-visual-studio-2008","tag-visual-studio-2008-sp1","tag-visual-web-developer"],"acf":[],"blog_post_summary":"<p>Last week I mentioned we would be releasing a Hotfix to accompany our new jQuery VSDoc file.&nbsp; This Hotfix is now available at the MSDN Code Gallery.&nbsp; Here&#8217;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 [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/404"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=4024"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4024\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=4024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=4024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=4024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}