[Pharo-project] Extracting methods to traits

Alexandre Bergel Alexandre.Bergel at inria.fr
Tue Jan 6 13:36:02 EST 2009

Dear List,

A method may be moved to a trait by pressing Cmd-e (or selecting the  
menu entry 'move method into a new trait').

This version contains an improvement of TOBCmdMoveToTrait. Before  
doing the refactoring, the method is checked first whether some  
instance variables are accessed. In that case, a popup window offers  
few options.
A list of possible trait names are also offered to select the trait  
the method should be moved in.

I think that if you execute any load*OB method, you will get this.

Alexandre Bergel  http://www.bergel.eu

More information about the Pharo-dev mailing list