Welcome to MSDN Blogs Sign in | Join | Help

JScript errors as warnings in Visual Studio 2008 RTM

Now Visual Studio 2008 code named Orcas is out of door with incredible features. The most highly anticipated feature of this release is JScript Authoring Services which includes JavaScript Intellisense and JavaScript Syntax Checking.

In the final version of Visual Studio 2008, with default profile settings VS shows all JScript/JavaScript syntax errors as warnings and warnings as messages because of which customer will end up unnoticed JScript Syntax Checking feature.   

To view JScript Errors as Errors in Error List window enable below option from Options dialog of Visual Studio

-       Launch Options dialog by clicking on Tool à Options menu

-       Expand Text Editor à HTML à Validation

-       Clear Show errors “as warnings (JScript)” check box

 Options

This has been added after VS 2008 Beta2 after considering customer feedback. In Visual Studio 2005 and Visual Web Developer Express 2005 all markup and CSS validation related issues such as unsupported tags and attributes are shown as errors in Error List. Few like it since validation errors encourage standard compliance while few didn't want validation errors to show up in Error list as these errors are browser errors. The same applies for JScript errors in VS 2008. This has been addressed by adding above option in the final version of Visual Studio 2008.

   JScript_errors_As_warning

Published Monday, December 31, 2007 11:00 AM by rneela

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Geek Lectures - Things geeks should know about » Blog Archive » JScript errors as warnings in Visual Studio 2008 RTM

# re: JScript errors as warnings in Visual Studio 2008 RTM

Monday, December 31, 2007 4:08 AM by rbirkby

Can I sugest Babelfish in future?

# re: JScript errors as warnings in Visual Studio 2008 RTM

Monday, December 31, 2007 4:08 AM by rbirkby

Can I suggest Babelfish in future?

# re: JScript errors as warnings in Visual Studio 2008 RTM

Monday, December 31, 2007 1:26 PM by SharpGIS

That's not really going to help, considering that you don't include javascript files that are embedded in assemblies outside the project. That means that if I rely on a base JS library included in an assembly, the JScript syntax checker would fail completely.

# re: JScript errors as warnings in Visual Studio 2008 RTM

Wednesday, January 02, 2008 6:18 AM by rneela

This only catches errors detectable by parser. Runtime errors are not detected by this.

# re: JScript errors as warnings in Visual Studio 2008 RTM

Wednesday, January 02, 2008 8:44 AM by rneela

Please suggest

# re: JScript errors as warnings in Visual Studio 2008 RTM

Saturday, January 19, 2008 8:09 AM by Tweaks

Geek Lectures - Things geeks should know about » Blog Archive » JScript errors as warnings in Visual Studio 2008 RTM

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker