Eclipse : Maximum Line width

When you use the Eclipse Refactor functionality to generate code, it can be quite annoying that the generated code is formatted to a very limited line width (typically 80 characters). The 80 charmarters is a legacy from the old days where the monitors couldn’t show long lines. In my opinion this doesn’t make sense in these days where the monitors have very high resolutions.

You can changed the line width as shown below.

Code style->formater -> ”Edit”

Select the “Line Wrapping” fane.

Change the “Maximum line width”