How to look for local senders/implementors in a hierarchy
Is there any way (shortcut?) to search for the senders/implementors in a selected class or any of its subclasses? Sometimes I want to find which methods reference a particular one in my own hierarchy, and if the selector name is common I'll have to dive through a long list of methods I'm not interested in :) Regards! Esteban A. Maringolo
Esteban A. Maringolo wrote
Is there any way (shortcut?) to search for the senders/implementors in a selected class or any of its subclasses?
A bit convoluted maybe, but you can "Browse Scoped" on the hierarchy from the Nautilus context menu. This is easy if they are all in the same package. If you want more control, you can create a group from the hierarchy and browse scoped on that. An easy way to create the group if the classes are spread across different packages is to bring up a hierarchy view on the base class, then mull-select and "Add in Group" from the context menu. HTH. ----- Cheers, Sean -- View this message in context: http://forum.world.st/How-to-look-for-local-senders-implementors-in-a-hierar... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
2014-02-17 12:28 GMT-03:00 Sean P. DeNigris <sean@clipperadams.com>:
Esteban A. Maringolo wrote
Is there any way (shortcut?) to search for the senders/implementors in a selected class or any of its subclasses?
A bit convoluted maybe, but you can "Browse Scoped" on the hierarchy from the Nautilus context menu. This is easy if they are all in the same package.
Convoluted it is. But gets the job done. Thanks!
If you want more control, you can create a group from the hierarchy and browse scoped on that. An easy way to create the group if the classes are spread across different packages is to bring up a hierarchy view on the base class, then mull-select and "Add in Group" from the context menu. HTH.
I got MNU (MetaClass DNU #prettyName). This is Pharo 2.0. But nevermind, I'm fine with above proposed workaround. Esteban A. Maringolo
On Feb 17, 2014, at 12:34 PM, "Esteban A. Maringolo [via Smalltalk]" <ml-node+s1294792n4744426h94@n4.nabble.com> wrote:
Convoluted it is. But gets the job done. Thanks! np
I got MNU (MetaClass DNU #prettyName). This is Pharo 2.0. Ah yes, I was in 3.0. IMHO it is finally safe to do so on a regular basis.
----- Cheers, Sean -- View this message in context: http://forum.world.st/How-to-look-for-local-senders-implementors-in-a-hierar... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Esteban A. Maringolo wrote:
Is there any way (shortcut?) to search for the senders/implementors in a selected class or any of its subclasses?
Sometimes I want to find which methods reference a particular one in my own hierarchy, and if the selector name is common I'll have to dive through a long list of methods I'm not interested in :)
Regards!
Esteban A. Maringolo Its not a shortcut but what I do is click the <Packages...> button in Finder to use just on the ones I want, and then search Sources - which is now pretty quick. I often have several Finders open all scoped differently, so I often change the window title (e.g. "Roassal Finder") and also set the window to "Not Closable".
cheers -ben
participants (3)
-
btc@openinworld.com -
Esteban A. Maringolo -
Sean P. DeNigris