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
  • 12,831
  • 6
  • 66
  • 78
ErikTJ
  • 1,901
  • 3
  • 19
  • 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#.)

kay
  • 24,516
  • 10
  • 94
  • 138
thersch
  • 1,276
  • 12
  • 19