Visual Studio 2008 Service Pack 1 Javascript Formatting Drives Me Nuts

Oct 31, 2008   //   by kyanachik   //   Website Development  //  View Comments

With all of the goodies included with Service Pack 1 for Visual Studio 2008, the one thing that Microsoft did not do right is Javascript formatting.  First of all, it’s really slow.  Second of all, it doesn’t seem to be consistent with it’s indenting.

For me, I’d like to do my own formatting.  So, to turn off the Javascript formatting in Visual Studio 2008 go to Tools – Options – Text Editor – JScript – Formatting.  And uncheck all of the checkboxes in the Automatic Formatting group.

  • Xor

    thanks, long time since I used Visual Studio for web development but this old post helped me from going nuts as well :)

  • kyanachik

    Thank you,

    I'm starting to have the same problem with Visual Studio 2010 when coding
    MVC views. I haven't been able to find the switch in 2010 for MVC views
    yet, I'll post it if I do.

blog comments powered by Disqus