I’m a big fan of clean well indented code but I’ve found the CTRL + SHIFT + F setting in STS & Eclipse to wrap lines way too soon.
Most people develop at 1080p resolution these days so it makes no sense to wrap lines so soon.
To change the line wrapping rules go to Window > Preferences > Java > Code Style > Formatter
Now create a new profile based off the current one, in my case this was Eclipse [built-in].
Click on Edit.. and go to the Line Wrapping tab, I set the Maximum line width to 240 but you can change it to whatever suits.