From: Brett L. <wak...@gm...> - 2008-05-27 22:06:59
|
On Tue, 2008-05-27 at 23:53 +0200, Erik Vos wrote: > > > > > Yes. 4 space indents, expand tab characters to spaces is > > fine by me. > > > > My current setting is 4 with tabs, but in fact I almost never > > reformat, > > because the formatter tends to break lines in ways I don't like. > > I'm pretty good at formatting manually (he boasted), but no doubt > > tabs and spaces get mixed this way. > > > > But I agree that it's time to sort this out. > > I have committed an experimental formatting standard for Eclipse named > Rails-format.xml (in CVS under 18xx). > It is an export from a new standard named "Rails" that I created out of the > Eclipse default. > The main change is, that tabs are not used at all - I found that advice in > several places. > For the rest it is... well, the way I like it... > > Erik. Sounds good. We should start building out some developer documentation on the website/wiki, starting with a CodingStyle page. Perhaps Iain has time to do this? ---Brett. Only spammers and relatives send HTML mail. -- Faux_Pseudo |