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)
...
--unpad-paren / -U
? – Sooksoonmerge
orjoin
and it seems this beautifier doesn't merge existing lines at all. Is that correct? – Sooksoon\s+(?=\|\|)
, replace with a single space. (Assuming your\s
picks up newlines as well, I believe it does in TW.) – Sooksoon