Formatting: binary operations
I would like to reformat existing binary operations so that the operation sign is
placed on the next line. The lines do not exceed the right column margin.
Nevertheless I would like to reformat the code to have the operator at the
beginning of the next line,
not at the end of the previous.
Example:
String s = "Hello" + " " +
"World!";
should be reformatted to:
String s = "Hello" + " "
+ "World!";
I tried out "Settings->Global Code Style->Wrapping->Binary
operations->Operation sign on next line", but it only does something if I
select "Wrap always". This is not the solution I look for because every
operator is placed on a new line by this. If I select "Wrap if
long", reformatting does not change the code.