How Visual Studio Handles JavaScript} 

JavaScript support before jQuery

First, lets see how Visual Studio handles JavaScript in general, without jQuery. There are two general areas we should explore: coding (with the

By Jeff Cogswell  |  Posted 2008-12-12 Print this article Print


IntelliSense will spread the code out evenly and from then on will know that a and b are parameters of x, and show them in x's parameter list. It also will notify you of syntax errors in JavaScript code. Finally, JavaScript is radically different from C# in that there are no classes for the objects; you can dynamically add new members to objects, and the only way to know the members is to not just compile the code but to actually run it. That could make for a messy coding experience. In general, Microsoft had no choice but to handle JavaScript differently with IntelliSense.

Now let's briefly try out the debugging.

Jeff Cogswell is the author of Designing Highly Useable Software ( among other books and is the owner/operator of CogsMedia Training and Consulting.Currently Jeff is a senior editor with Ziff Davis Enterprise. Prior to joining Ziff, he spent about 15 years as a software engineer, working on Windows and Unix systems, mastering C++, PHP, and ASP.NET development. He has written over a dozen books.

Submit a Comment

Loading Comments...
Manage your Newsletters: Login   Register My Newsletters

Rocket Fuel