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

Comments

  • Anonymous
    December 30, 2007
    PingBack from http://geeklectures.info/2007/12/30/jscript-errors-as-warnings-in-visual-studio-2008-rtm/

  • Anonymous
    December 30, 2007
    Can I sugest Babelfish in future?

  • Anonymous
    December 30, 2007
    Can I suggest Babelfish in future?

  • Anonymous
    December 31, 2007
    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.

  • Anonymous
    January 01, 2008
    This only catches errors detectable by parser. Runtime errors are not detected by this.

  • Anonymous
    January 02, 2008
    Please suggest

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

  • Anonymous
    June 29, 2011
    pleas help to remove error from my site http://www.cequi.it/