"brace_style": "Stroustrup" keeps opening brace of a procedure on the same line.
"brace_style": "K_And_R" moves opening brace of a procedure to its own line below.
That behaviour should be inverted:
| Style |
if |
Procedure |
_1TBS |
{ same line |
{ same line |
Allman |
{ next line |
{ next line |
Stroustrup |
{ same line |
{ next line |
K_And_R |
{ same line |
{ same line |
It looks like the rest of the behaviour of the two styles is fine, just the behaviour of a procedure's opening curly brace is the issue.
Haven't looked into the others.
ols 2026-08
"brace_style": "Stroustrup"keeps opening brace of a procedure on the same line."brace_style": "K_And_R"moves opening brace of a procedure to its own line below.That behaviour should be inverted:
if_1TBS{same line{same lineAllman{next line{next lineStroustrup{same line{next lineK_And_R{same line{same lineIt looks like the rest of the behaviour of the two styles is fine, just the behaviour of a procedure's opening curly brace is the issue.
Haven't looked into the others.
ols 2026-08