Page 1 of 1

tabs -> spaces

Posted: Mon Feb 20, 2006 8:21 pm
by jelle
hey forum,

my editor tried to be nice and converted all tabs to 4spaces while I edited a few lines. (probably a setting somewhere..) It showed up nicely in my diff ( -b fixes that).

That made me wonder: is there any code formatting standard in place? Or is all code run through a formatter before it is released?

Re: tabs -> spaces

Posted: Tue Feb 21, 2006 12:37 am
by Ted
Well, I use vim (and most source files have the vim formatting clause at the end), which keeps everything nicely formatted.