RaceBase
RaceBase

Reputation: 18848

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)

enter image description here

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.

Upvotes: 0

Views: 190

Answers (1)

zpontikas
zpontikas

Reputation: 5662

You go to Settings (alt+ctrl+s) then select Code Style - General Here you can configure your margins and if you want the code to wrap after it reaches the end of it

Code style general

Upvotes: 1

Related Questions