Intellij Idea Code wrapping when formatted

I am new to Intellij Idea. I didn't find any information on how to wrap the code after certain characters (ex: 150 characters, break the line)

I want to break the code after the vertical line, the following code must come in next line.

Note: I used Reformat code option, but it did just realigned the code with some white spaces etc, but not wrapping up the code. It's difficult to see the end of the code.

1 comment

Please try Settings / ... / Code Style / the language / Wrapping and Braces / Ensure right margin is not exceeded = Yes.

(I'm looking at IDEA 14 EAP build.)



Please sign in to leave a comment.