There is a feature that tells Intellij to try keep Java source code to
line lengths limited to some maximum. Sorry I don't recall where in
the menu warren you turn it on.
When you reformat it reflows to conform.
The catch is, sometimes there not sufficient natural line breaks.
For a unrealistic example a string of xxs 150 long, either enclosed
in quotes or not.
Reformat then goes nuts, and inserts scores of blank lines or ""+
lines rather than just giving up and leaving the line alone.
I hope you can reproduce this without requiring a formal bug
submission. I don't like submitting bugs until I know others see them
too. I have an unusually strong Murphy field.
--
Roedy Green Canadian Mind Products http://mindprod.com
When discusing on the Internet, anything you say is presumed to contradict
someone else. If you are not, it is wise to explicitly state that you agree
with or are elaborating on what someone else said. You can do this
efficiently by starting your post with the word "Further" or "Also".