|
From: Rod J. <rod...@in...> - 2004-07-27 18:00:26
|
Yes, Juergen's the one responsible :-) I would prefer to keep tabs. I know I'm in a minority, but I hate spaces. Also if we switch wouldn't it would break all revision history comparison= s. But certainly there are a few files untidy, with very long lines. I'm not a big fan of parameter alignment in general. Rgds Rod ----- Original Message ----- From: "j=FCrgen h=F6ller [werk3AT]" <jue...@we...> To: <spr...@li...> Sent: Tuesday, July 27, 2004 5:51 PM Subject: Re: [Springframework-developer] Formatting in the face of tab us= age I see, you refer to the parameter aligning in new lines, which I do have = set in my IDEA code style. That's indeed messing up things for other tab size= s, when usign hard tabs. So we should probably not use parameter aligning as long as we stay with hard tabs then... But it just looks nicer, IMO - if the tab size matches = ;-) Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Colin Sampaleanu Sent: Tuesday, July 27, 2004 6:15 PM To: spr...@li... Subject: [Springframework-developer] Formatting in the face of tab usage I was looking at DefaultXmlBeanDefinitionParser, and it's clear that whoever formatted it (Juergen I guess) is using an editor with hard tabs set to 2 characters (not the more common 4 or 8). I say this because for some method calls, the continuation line lines up method args, but only if tabs are set to 2. If they are 4 or 8, the continuation line is _way_ over to the right. While I'm not a big fan of hard tabs, as per our discussion last fall, I can live with them. But what this means is that any continuation lines need to be simply one or more tabs farther in than the line before it. If you format lines so that you use hard tabs to line up with some non-tab text in a line above, this will completely mess up for other people using different tab settings. Ditto with adding some real spaces (with or without tabs) at the beginning of the line. Essentially _all_ indentation has to be based only on tabs. Colin ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id=10040&op=3Dick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |