Formatting chained calls the way I like

I like this style

new Foo()
  .bar
  .car(a, b) {c: Int =>
     c * 2
  }


But Idea turns it to (note the last 2 lines):
  new Foo()
    .bar
    .car(a, b) { c: Int =>
    c * 2
  }

If I choose to 'align when multiline' under 'Chained method calls'  I get:
  new Foo()
  .bar
  .car(a, b) {c: Int =>
     c * 2
  }

(loosing the indentation for the bar and car calls)

What should I do to get the formatting I like?

Regards,
Ittay

0

Please sign in to leave a comment.