1

When I format this piece with ReSharper:

this.Tabs.Add(bb => bb
             .Horizontal(h => h
                  .Vertical(v => v
                      .Box("0", upperView, "")
                      .Box("1", mainView, ""))));

I get:

this.Tabs.Add(bb => bb
                     .Horizontal(h => h
                                           .Vertical(v => v
                                                             .Box("0", upperView, "")
                                                             .Box("1", mainView, ""))));

But I want it to stay the same. How would I do this?

Ben Mosher
  • 13,251
  • 7
  • 69
  • 80
ErikTJ
  • 2,001
  • 3
  • 21
  • 38

1 Answers1

2

Maybe deselecting

  • ReSharper →
  • Options →
  • Languages →
  • C# →
  • Formatting Style →
  • Other →
  • Align Multiline Constructs →
  • Expression

reduces the effect.

(Assumed you are using C#.)

Kijewski
  • 25,517
  • 12
  • 101
  • 143
thersch
  • 1,316
  • 12
  • 19