The intellisense got smarter!
The way that the intellisense got smarter is that VS2008 allows you to have the documentation in a seperate file. That way your main code will not be “heavy” for browsers to use – only at development time will the “-vsdoc” documentation file be used!
VS2008 will search for documentation in 3 predefined files – 3 patterns will be searched for: If you have a library, say "mylibrary.js", VS2008 will search for documentation in the same directory in this order
- "mylibrary-vsdoc.js", then if that is not found, a search for…
- "mylibrary.debug.js", then if that is not found, a search for…
To get this feature you will need to install this hotfix for VS2008.
You can see a description of how to use the "-vsdoc" part in jQuery here:
Rich IntelliSense for jQuery.