ReSharper 2017.1 Help

Indentation and Alignment

ReSharper | Options | Code Editing | C++ | Formatting Style | Line Breaks and Wrapping

You can use preferences on this page to specify how ReSharper indents and aligns your code in specific cases. In the Indentation group, you can define how tabs and indents (that you can configure on the Code Editing | C++ | Formatting Style | Tabs and Indents options page) are applied in specific cases. In the Align multiple constructs group, you can define how code constructs that span multiple lines are aligned (you can specify the rules for breaking long lines on the Code Editing | C++ | Formatting Style | Line Breaks and Wrapping options page).

The options that you configure on this page apply in the following cases:

If there are .editorconfig files that affect your solution, preferences on this page could be overridden by EditorConfig styles. You will see a yellow warning if at least one preference on a page is overridden by EditorConfig styles, each overridden preference will be also highlighted with yellow. For example:

Code formatting options overridden by EditorConfig styles

Last modified: 12 October 2017

See Also