Change auto-format line width limit?

When auto-formatting java-code, it seems like IntelliJ will wrap long lines at ~150 chars.

Is there any way to change this limit?

Cannot find it in the Settings dialog...

3 comments

And an additional questions.

There is a setting:
  Code Style => Java => Wrapping and Braces => Keep when reformatting => Line Breaks
which I have checked.

Still, it appears, Javadoc comment lines will be joined together to make longer lines.

Is there a way to avoid that?
I would like to keep line-breaks in comments, too, when reformatting...


Edit: Clarified re. Javadoc comments (not // comments)

0

Code Style -> General -> Right margin


0

Please sign in to leave a comment.