normally yes. cmd-X and remove may be it was removed by error On Jun 25, 2009, at 9:02 PM, Schwab,Wilhelm K wrote:
So there will no way to simply remove a method? I am a big fan of the RB, until if feels the need to rewrite my code, at which point I _usually_ say thanks, but NO. Beyond preferences for formatting, respect for placement of comments, etc., removing code can be the ultimate expression of changing, not simply refactoring code; the latter at least started out as behavior-preserving transformations. The RB is a great tool for what it does, but it is not the ultimate answer to editing; I respectfully urge that we should not mistake it for such.
Apologies if I have let my hair trigger get bumped on this one :)
Bill
From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr ] On Behalf Of Mariano Martinez Peck Sent: Thursday, June 25, 2009 12:51 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Experiences with 10342
2009/6/25 Janko Mivšek <janko.mivsek@eranova.si> Mariano Martinez Peck pravi:
Know anyone a quick and dirty way how to remove methods in
this Pharo?
Some keyboard shortcut? I really need to delete some methods
just
spotted in my code...
My experience is that right click -> refactor method -> remove
sometimes
doesn't work. So, I use right click -> various -> remove method.
This one is just too hidden ... :)
Yes. I think because it will then be removed. But I use it because, as I said, with the other option sometimes I have problems.
Thanks Janko
-- Janko Mivšek AIDA/Web Smalltalk Web Application Server http://www.aidaweb.si
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project