Align chained method call in Java with Uncrustify

Viewed 19

I want to Uncrustify to format this:

IBuffer b = new Buffer();
b.add(1).add(1).add(2).add(3).add(4);

to

b.add(1)
 .add(2)
 .add(3)
 .add(4)

Is there a way to achieve this? Thank you so much!

0 Answers
Related