How can I get else
to be on one line as it should be? (meaning } else {
instead of the version shown below).
I am already using K&R style which fixes all other uses of braces (as shown below), but it does not fix the else
.
There is a toggle in the "Editor" > "Code Style" > "C#" settings under the "Line Breaks and Wrapping" tab called "Place 'else' on new line":
Disabling this will achieve what you want.