[squeak-dev] Reformat method on accept

Ramon Leon ramon.leon at allresnet.com
Mon Oct 13 20:22:48 UTC 2008


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

Ramon Leon
http://onsmalltalk.com




More information about the Squeak-dev mailing list