I was very surprise about the amount of incorrect or rather half truth information that was floating around the web to geth javascript intellisense to work in Visual Studio 2008, so once I finally got it working then I just felt I needed to make a quick blog post that may help others in the future.
The main problem occurs when you are within a page that inherits from a master pages, and its that master page that references the javascript files you would like to have the intellisense to reference.
The first step and this is pretty easy to find around the web and thats make a reference comment within your javascript block to the javascript file ie
///<reference path="ext/adapter/ext/ext-base.js" />
///<reference path="ext/ext-all.js" />
///<reference path="ext/ext-all-debug.js" />
Now it still doesnt work and frustration will set in, the secret source to make it work ? hit Ctrl-Shift-J on each of the reference that you would like to start appearing in the javascript intellisense. So simple but so easy once you know how.
Of course you must also have VS2008 SP1 installed and this hotfix if your referencing a -vsdoc.js file as most blogs talk about.
Hope this helps some people out.