views:

28

answers:

0

Hi there,

I'm having a validation problem with JavaScript in Visual Studio 2008. By default, the validation schema is set to XHTML 1.0 Transitional for JavaScript files. This makes it difficult to format a lot of comments and code while I'm writing it (although it looks fine after all the semicolons are in place and such). I have a second solution which defaults the validation schema for JavaScript files to blank. This works much better, as I'm not constantly tabbing to make comments line up and so on. In both cases, the validation schema dropdown is greyed out.

Does anyone have any idea how to change the validation schema for a JavaScript file in Visual Studio 2008? It's driving me insane to have everything misaligned while I'm writing!

Thanks,
Chris