Entering code

rrobbes rrobbes at info.unicaen.fr
Sat Mar 13 13:57:22 UTC 2004

> 2) Suppose you meant to make a class method, but you forgot to hit class
> and wind up entering it as an instance method. Is there an easy way to
> tell squeak "hey, this is currently an instance method, but that's not
> right, just move this over to the class side?" (i.e. without cutting and
> pasting the code and all that) 

Hi Aaron, 

Have you tried the refactoring browser ?
I don't remember it having such a refactoring, but that might be doable...
Anyways it has a lot of related stuff, such as the possibility to
extract methods, inline them, rename variable ... 


More information about the Squeak-dev mailing list