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.

The author does not allow comments to this entry


Search for an entry in /dev/weblog:

Did not find what you were looking for? Post a comment for an entry or contact us via email!