I work with an old school dev that doesn't follow our formatting rules (this is ok for now, since we're a startup trying to get stuff done as quickly as possible, we'll worry about standards later..), but his code is extremely difficult to read.. He seems to code like disk space is a massive cost, and wants to preserve those bytes on disk..
I attempt to run it through the beautifer, and it works for the most part, except for 2 things:
1. Spaces around operators: What I see:
x=(x%grid)-(offset*offset_grid);
what I want to see:
x = (x % grid) - (offset * offset_grid);
2. Spaces after ,'s in func/method calls. What I see:
myFunc(x,y,z);
what I want to see:
myFunc(x, y, z);
Is there anyway we can get the beautifier to handle this? I haven't been able to find the trick if there is one.
--John