Wrapping chained method calls on a separate line in Eclipse for Java

后端 未结 7 1580
南方客
南方客 2020-12-02 05:10

I haven\'t been successful in figuring out how to wrap each method call in Eclipse. For example, I have this:

someObject.A().B().C();

7条回答
  •  独厮守ぢ
    2020-12-02 05:56

    Customize your eclipse formatter in both java and javascript. increase the max line with that fits your screen.

提交回复
热议问题