Eclipse formatter settings for the Builder pattern

Turning off formatting with comments, or inserting line comments is too tedious.

The best way is described here:

… or you can select “Line Wrapping > Never join already wrapped
lines” globally. Then, you can break it manually and the formatter
will only format inside lines (or add additional line breaks if
necessary).

With this setting Eclipse formatter will stop ruining your builder statements.

enter image description here

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)