Tuesday, October 17, 2006

Visual Studio 2005 - Code Formatting

I dont't know if any of you guys have noticed the cool new code reformatting feature in visual studio. If you remove the bottom brace of a code file and retype it, the IDE reformats the code based on your settings in Tools > Options > Text Editor > Language.

Be warned though that this feature will not work if your code is currently un-parseable iow. if your page can't build the formatter will not reformat your code.

No comments: