ReSharper 2016.3 Help

Braces Layout

ReSharper | Options | Code Editing | TypeScript | 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 position braces 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 on the Environment | Editor | Editor Behavior page of ReSharper options.

Last modified: 12 October 2017

See Also