Azcion
Azcion

Reputation: 13

How to make ReSharper put "if" from "else if" on a new line?

I want to format the "else if" block like this:

if (something) {

} else
if (somethingElse) {

}

ReSharper is currently set to do this instead:

if (something) {

} else if (somethingElse) {

}

How can I change this?

Upvotes: 1

Views: 188

Answers (1)

Nasreddine
Nasreddine

Reputation: 37888

You can activate it in ReSharper's options:

enter image description here

Upvotes: 4

Related Questions