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)
http://i.stack.imgur.com/26Koh.png

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
Comment actions Permalink

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.)

Regards,
Alexander.

0

Please sign in to leave a comment.