score:1

Accepted answer

navigate:

"window -> preferences -> java ->code style -> formatter".

adjust the existing template or create/import new one and use the same.

to change the max line width, select a profile and then navigate:

"edit -> line wrapping" 

and set a desired character length in "maximum line width" field e.g. "100".


Related Query

More Query from same tag