tabs -> spaces

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
jelle

tabs -> spaces

Post 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?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: tabs -> spaces

Post by Ted »

Well, I use vim (and most source files have the vim formatting clause at the end), which keeps everything nicely formatted.
Post Reply

Return to “Developers Discussion”