Editorconfig Guide.e

Indent block contents

EditorConfig key: csharp-indent-block-contents

Indent block contents

csharp-indent-block-contents

This option controls whether the statements inside a block should be indented relative to its braces.

Default value:

true

Possible values:

  • true
  • false

Examples

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