Sometimes I like to space an expression non-uniformly. E.g., I prefer…
x*x + y*y
…to…
x * x + y * y
It seems that the Eclipse formatter won’t allow this. I can tell it to put either zero or one space around every operator, but I can’t see how to make it leave the spacing as I wrote it. Can this be done? (@formatter:off is too intrusive.)
No, the formatter formats, unconditionally.