I'm switching from Eclipse to IntelliJ (8.1.3) but I have currently problem with formatter in IntelliJ.
In Eclipse when I setup some rules and line length, the formatter will join two lines that obiously shouldn't be seperated:
int a = 2 + 3
+ 3 + 1;
int a = 2 + 3 + 3 + 1;
But IntelliJ doesn't do that, I look almost everywhere, but I must be blind, because I don't see an option for this. It seams that IntelliJ only changes intendation, breaks lines that are too long, but doesn't join lines that can be longer.
Is there a way to achieve this in IntelliJ?