ReSharper 2016.1 Help

Braces Layout

ReSharper | Options | Code Editing | C# | Formatting Style | Braces Layout

Use this page to adjust the way ReSharper arranges braces and reformats your code; in particular, there are several ways to force ReSharper to enclose single operators in braces (for example, after if or for operators).

For every item, there is a preview pane in the bottom part of the page where you can observe changes after selecting options in drop-down lists.

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

To configure auto-formatting of new code, use the Auto-format on semicolon and Auto-format on closing brace options in the ReSharper | Options | Environment | Editor | Editor Behavior.

See Also


Last modified: 19 August 2016