I would like to configure the Eclipse java formatter to format chain calls of such methods:
lblName
.setX(last.getX() + last.getWidth())
.setY(0)
.setHeight(this.height)
.setWidth(80);
My problem is that I do not know how to do this, just format it as if the first method call was already placed on the second line. This call should not be affected:
lblName.setX(last.getX() + last.getWidth()).setY(0).setHeight(this.height).setWidth(80);
Hoeze source
share