Home > database >  Can I make Resharper align case clauses in switch statements on one line?
Can I make Resharper align case clauses in switch statements on one line?

Time:10-26

(Note: enter image description here

(This is how I have the settings now but I've monkeyed with them extensively. They do not seem to change anything. As soon as I hit semicolon, the break gets moved)

I know that many Resharper settings have "hard breaks" at a certain column and all that but I generally set those to really high numbers (e.g. column 150).

Is there a setting for it that I am missing? Is it possible to make Resharper align things like this?

CodePudding user response:

No, it's not possible right now. The "Place simple case statements" takes effect when there's only one statement inside a case section, where's in your case there are two including the break; statement.

  • Related