With Artistic Style code formatter, how do I achieve the opposite of --break-after-logical / -xL
such that if I have...
if (thisVariable1 == thatVariable1
|| thisVariable2 == thatVariable2
|| thisVariable3 == thatVariable3)
...
...I get...
if (thisVariable1 == thatVariable1 || thisVariable2 == thatVariable2 || thisVariable3 == thatVariable3)
...
Artistic style
doesn't appear to make this possible.
That's quite sensible, since it actually obfuscates the code :
!=
would be harder to spot in a one-liner). I would actually write :
if ( thisVariable1 == thatVariable1
|| thisVariable2 == thatVariable2
|| longerVariable3 == thatVariable3 )
...