Brace style (all languages)

EditorConfig key: resharper-brace-style

Brace style (all languages)

resharper-brace-style

Fallback brace placement applied across all languages where a more specific option doesn't override it.

Default value:

unset

Possible values:

  • unset
  • end_of_line
  • end_of_line_no_space
  • next_line
  • next_line_shifted
  • next_line_shifted_2
  • pico

Examples

unset
end_of_line
class Foo {
  int x;
}
end_of_line_no_space
class Foo{
  int x;
}
next_line
class Foo
{
  int x;
}
next_line_shifted
class Foo
  {
  int x;
  }
next_line_shifted_2
class Foo
  {
    int x;
  }
pico
class Foo
{  int x;
}