Friday, November 6, 2009

ASP.NET 3.5 JavaScript Intellisense hotfix


Microsoft has released a hot fix for JavaScript IntelliSense in Visual Studio.

The fix can be applied on VS.NET 2008 with SP1.

All we need to do is copy the JavaScript doc (in XML documentation format as used in standard C# documentation), with "-vsdoc.js" appended to the JScript file name, in the same source folder.

Also, we can use the intellisense in an external JavaScript file, by specifying the configuration line on top of our JavaScript file.
Code:
///
May be we can use the same to create our custom well documented JScript library..

Definitely a productivity improvement tool for ASP.NET developers..



References:

VS 2008 JavaScript Intellisense @ ScottGu's Blog

Visual Studio patched for better jQuery IntelliSense

IntelliSense flavor for Visual Studio 2008 JavaScript files @ Microsoft Help and Support

JQuery IntelliSense in Visual Studio 2008

The format for JavaScript doc comments

No comments:

Post a Comment

...

Obstacles are those frightful things you see when you take your eyes off your goal.------> by Henry Ford