[Pharo-users] move a method

2014-10-23 Thread Hans Schueren
Good morning fellows , i want to move a method in a different class. Therefore i can see two options in the Package Browser. (context menue of method) 1. move to trait (e) 2. move to package. The option one is ok. But i only can see there the message : New Trait No existing classes and

Re: [Pharo-users] move a method

2014-10-23 Thread kilon alios
I see no move to trait, I am assuming you talk about system browser , system browser has no means to move methods. At least not in menus. Move to package is for the class. I usually just copy paste the method and then remove it from the original. Of course if you want to move more than one then

Re: [Pharo-users] move a method

2014-10-23 Thread [CH] Aliaksei Syrel
Hi, Does drag and drop not work for you? That's how I usually move methods between classes if I need to. Just press on the method name in the list and drag it to another class. (Works in Moose, should also work in Pharo). Cheers, Alex On Oct 23, 2014 11:45 AM, Hans Schueren