C#C
C#3y ago
ki.

❔ Formatting braces in Visual Studio

Hello, for anyone coding using Visual Studio 2022, I'm having an annoying problem with the cursor placiment and it putting the close brace on a new line automatically.

What it does now is this:
if (a == b) {
|}

"|" being where the cursor places itself automatically just by my typing the open brace.

If possible, I'd like it to be something like this:
if (a == b) {
   |
}

Again the "|" being where the cursor is, thanks.
Was this page helpful?