Editorconfig Guide.e

Indent braces

EditorConfig key: csharp-indent-braces

Indent braces

csharp-indent-braces

This option controls whether braces themselves should be indented (rather than placed at the same indentation as the enclosing statement).

Default value:

false

Possible values:

  • true
  • false

Examples

true
if(true)
  {
  x++;
  }
false
if(true)
{
  x++;
}