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 <[email protected]> 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

Reply via email to