I mean that I prefer
Smalltalk tools register: ;lkl;k;lk;l in: lkl;k;lkl;kl;
over
Smalltalk tools register: ;lkl;k;lk;l in: lkl;k;lkl;kl;
because I do not see fast that the message is register: in: and I guess that you are formatting the way I like but the rb formatter may be wrong because
Smalltalk tools register: ;lkl;k;lk;l
should be more
Smalltalk tools register: ;lkl;k;lk;l
On Aug 12, 2011, at 1:49 PM, Lukas Renggli wrote:
Hmm, I don't get your example.
What I changed is that the formatter does not enforce the useless parenthesis around the receiver of a cascade. Can be disabled though.
Also note that there are settings to automatically format code on display and/or accept. I use the "on display" mode often to read ugly code :-)
Lukas
On 12 August 2011 13:29, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Yes
Smalltalk tools register: ;lkl;k;lk;l in: lkl;k;lkl;kl;
stef On Aug 12, 2011, at 1:20 PM, Lukas Renggli wrote:
I always think of this a the Seaside style, but I am not sure if that is a correct attribution.
Haha, thank you.
Actually the refactoring browser formatter with the default settings is quite close to the Seaside style, I just recently submitted some fixes for cascades. The only thing that I don't like about the automatic formatter is how the brackets in multiline blocks are aligned. Anyway, the formatter would style #inject:into: as you suggest.
Lukas
-- Lukas Renggli www.lukas-renggli.ch
-- Lukas Renggli www.lukas-renggli.ch