<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>www.netsi.dk &#187; Microsoft Visual studio 2008</title>
	<atom:link href="http://www.netsi.dk/wordpress/index.php/tag/microsoft-visual-studio-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netsi.dk/wordpress</link>
	<description>&#34;The internet is just a layer on the real world&#34; (don&#039;t forget that!)</description>
	<lastBuildDate>Sat, 04 Sep 2010 10:53:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Javascript intellisense in Microsoft Visual Studio 2008 (VS2008)</title>
		<link>http://www.netsi.dk/wordpress/index.php/2010/02/09/javascript-intellisense-in-microsoft-visual-studio-2008-vs2008/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2010/02/09/javascript-intellisense-in-microsoft-visual-studio-2008-vs2008/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 21:57:22 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[intellisence]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Microsoft Visual studio 2008]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2010/02/09/javascript-intellisense-in-microsoft-visual-studio-2008-vs2008/</guid>
		<description><![CDATA[When I first saw that Microsoft Visual Studio 2008 (VS2008) started to allow for intellisence on javascript I was happy! Not many seconds after that my suspicious old mind saw some problems, one of them was the fact that the vast amount of documentation would follow the javascript files making them too big and slow down pages using them.
The intellisense got smarter!
The way that the intellisense got smarter is that [...]]]></description>
			<content:encoded><![CDATA[<p><em>When I first saw that Microsoft Visual Studio 2008 (VS2008) started to allow for intellisence on javascript I was happy! Not many seconds after that my suspicious old mind saw some problems, one of them was the fact that the vast amount of documentation would follow the javascript files making them too big and slow down pages using them.</em></p>
<h3>The intellisense got smarter!</h3>
<p>The way that the intellisense got smarter is that VS2008 <strong>allows you to have the documentation in a seperate file</strong>. That way your main code will not be “heavy” for browsers to use – only at development time will the “-vsdoc” documentation file be used! </p>
<p>VS2008 will search for documentation in 3 predefined files – 3 patterns will be searched for: If you have a library, say &quot;<strong>mylibrary.js</strong>&quot;, VS2008 will search for documentation in the same directory in this order</p>
<ol>
<li>&quot;mylibrary<strong>-vsdoc</strong>.js&quot;, then if that is not found, a search for&#8230; </li>
<li>&quot;mylibrary<strong>.debug</strong>.js&quot;, then if that is not found, a search for&#8230; </li>
<li>&quot;mylibrary.js&quot; </li>
</ol>
<p>So if you program a javascript library you can add VS2008 intellisense code in a version named in one of the two ways shown above (or embedded in the main library), and then save it in the same folder as the actual library. This will introduce help on methodes in the library. </p>
<p>If no intellisence appers as you type try updating: “Edit &gt; IntelliSense &gt; Update Javascript IntelliSence (Ctrl+Shift+J)”. </p>
<p>To get this feature you will need to install this <a title="A hotfix for VS2008 which adds the descriped feature" href="http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736" target="_blank">hotfix for VS2008</a>.</p>
<p>You can see a description of how to use the &quot;-vsdoc&quot; part in jQuery here:    <br /><a title="Rich IntelliSense for jQuery" href="http://blogs.msdn.com/webdevtools/archive/2008/10/28/rich-intellisense-for-jquery.aspx" target="_blank">Rich IntelliSense for jQuery</a>.</p>
<p>Below you can find links to related posts/articles – one of them “<a title="See how you can write your own javascript docs for VS2008" href="http://weblogs.asp.net/bleroy/archive/2007/04/23/the-format-for-javascript-doc-comments.aspx" target="_blank">The format for JavaScript doc comments</a>” I thing is very important as it is a guide to how <strong>you</strong> add documentation (and intellisence) to <strong>your own</strong> javascript code. So now there are more than one argument to start documenting your code!</p>
<p>Happy documenting!</p>
<p>/Sten</p>
<p><strong>Related articles</strong></p>
<ul>
<li><a title="A guide to using Intellisence with the jQuery javascript library" href="http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx" target="_blank">jQuery Intellisense in VS 2008</a> </li>
<li><a title="JScript IntelliSense FAQ" href="http://blogs.msdn.com/webdevtools/archive/2008/11/18/jscript-intellisense-faq.aspx">JScript IntelliSense FAQ</a> </li>
<li><a title="See how you can write your own javascript docs for VS2008" href="http://weblogs.asp.net/bleroy/archive/2007/04/23/the-format-for-javascript-doc-comments.aspx" target="_blank">The format for JavaScript doc comments</a> </li>
<li><a title="A hotfix for VS2008 which adds the descriped feature" href="http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736" target="_blank">Hotfix for VS2008</a> </li>
</ul>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/02/09/javascript-intellisense-in-microsoft-visual-studio-2008-vs2008/" target="_blank"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/02/09/javascript-intellisense-in-microsoft-visual-studio-2008-vs2008/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2010/02/09/javascript-intellisense-in-microsoft-visual-studio-2008-vs2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
