Friday, September 03, 2010

Visual Studio Formatting Settings

Here is a list of formatting settings that I like in Visual Studio.

View White Space
Edit -> Advanced -> View White Space
This allow me to see if I have tabs or spaces.

Also Edit -> Advanced -> Untabify Selected Lines

Place open brace on new line for functions and control blocks
In Visual Studio, click Tools -> Options. In the Options dialog on the left pane select Text editor -> JScript -> Formatting
See here for a picture.