On 12 August 2011 15:42, Stéphane Ducasse <[email protected]> wrote:
> 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:

Hmm, I still don't understand your example because the $; has semantic
meaning and because the  example doesn't even compile :-)

> and I guess that you are formatting the way I like but the rb formatter may 
> be wrong because

You can configure after how how many keyword parts (that is probably
too low right now) it should print on one line. Also you can tell it
how many characters per line you maximally want (used to be 80, I
think i changed the default to 100; but probably should be inifite).

Lukas

>
> 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 <[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
>>
>
>
>



-- 
Lukas Renggli
www.lukas-renggli.ch

Reply via email to