I want the formatter to break the line when the code reaches the right margin.
I found solution, but for older versions of IntelliJ. How can I do this in IntelliJ 2018?
Example:
and then when I type toLowerCase
, for example -
to receive that:
Go to Settings > Editor > Code Style > Java, switch to Wrapping and Braces tab and change Wrap on typing to Yes.