A while back we updated VS2008 Intelli Sense to not fail when referencing j Query.However, getting Intelli Sense for chained calls and rich summary/parameter hints still required adding special comments to a few thousand lines of j Query.Microsoft also announced that they would distribute Intelli Sense-annotated documentation Java Script files for Visual Studio 2008 that developers can reference in their files to enable Intelli Sense for j Query.The following instructions will help you get started using this tool to make writing j Query scripts faster than ever.If not found, it will then search for “x.debug.js”.
Update: A new Hotfix is availble to complement this file.
From each ASPX page you want j Query Intelli Sense youâ€™ll want to call the reference within a server-side conditional statement so that the documentation file will still load in Visual Studio but will not load at run-time.
Add the following after your j Query declaration: If you downloaded j Query and saved it to your project Visual Studio will look for the file automatically if the following conditions are met.
If in doubt, just add a reference to the documentation file.
If you are linking to j Query by the Google Code AJAX Library or are linking to j Query from anywhere outside of your project you will need to reference the documentation file.
(Note: the j Query 1.3.2 documentation file is named jquery-1.3.2-vsdoc2on the Download page so make sure you take out the 2 so that the file will be found by Visual Studio) If you can't meet these conditions you'll need to reference the documentation file as shown above.