[squeak-dev] Reformat method on accept

Mark Volkmann mark at ociweb.com
Mon Oct 13 20:35:19 UTC 2008


On Oct 13, 2008, at 3:22 PM, Ramon Leon wrote:

>> Speaking of reformatting, do Smalltalkers generally like the way
>> Squeak formats code? In particular, I dislike the way it puts each
>> keyword of a keyword message on a separate line. I wish it
>> would take
>> into account the line length and leave them all on the same
>> line if a
>> line isn't very long. I find myself avoiding the use of refactoring
>> because I know I won't like what it does to the code ... and
>> I hate to
>> miss out on the benefits of automated refactorings.
>>
>> ---
>> Mark Volkmann
>
> Hack it to work however you like, see class
> RBFormatter>>maximumArgumentsPerLine, and take a peek at other such  
> methods
> defining constants you don't like.


Thanks! I was looking for something like that, but couldn't find it.

---
Mark Volkmann




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5706 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20081013/c82ca9de/smime.bin


More information about the Squeak-dev mailing list