Multiline in editor with separator as first position
Hello,
I wanted to know if there is a setting in IntelliJ to have something like:
String myString = "blah"
+ "blah2"
+ "blah3";
Instead of the default:
String myString = "blah" +
"blah2" +
"blah3";
I cannot seem to find any way to do that in the preferences of IntelliJ, but again, maybe I'm blind :-D
At the moment, I change by hand all the default formatting of IntelliJ... and I am becoming more and more annoyed by that.
It took me a while to get use to that way to format multiline, but it has so many advantages from my point of view, that I don't want to use the old format anymore. But apparently this support is not very "popular"...
I really hope that there is way to do it.
Thank you for your help.
Kind regards,
Alessandro
Please sign in to leave a comment.
The behavior you are looking for can be achieved by enabling the option: Operation sign on next line in Settings > Editor > Code Style > Java > Wrapping and Braces: