Skip to content

Curly Braces in MS VWD Express

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.

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: