Code Formatting

The Code Formatting section enables you to specify options for Code Formatting.

Options on each page of the section are organized as a tree. This enables you to easily find the desired option. To clearly see how the selected option will affect your code, look at the code sample at the bottom of the options page.


  • All pages of the Code Formatting section are language-dependent. That is the options set on these pages depends on the currently selected programming language.


Options page Description
Blank Lines Blank line usage rules.
General General options for Code Formatting tool.
Indentation Indentation insertion rules.
Line Breaks Line break usage rules.
Other / Language Specific Formatting options unrelated to other categories.
Spacing Space insertion rules.
Wrapping / Alignment Wrapping and alignment rules.

This product is designed for outdated versions of Visual Studio. Although Visual Studio 2015 is supported, consider using the CodeRush extension with Visual Studio 2015 or higher.