Curly Braces in MS VWD Express
Posted by berek on Friday, March 11. 2011
Curly braces should almost never be on a new line. So here are the steps to make MS Visual Web Developer Express more awesome.
Tools -> Options
Select ‘Show all Settings’
Text Editor -> C# -> Formatting -> New Lines
Uncheck all boxes except for the last three (the last three are all under the ‘New line options for expressions’ directory).
This will ensure that all curly braces are on the same line as the class, function, else, catch, and so on.