How do I find the senders of a message, but just in a certain set of packages? Thanks. ----- Cheers, Sean -- View this message in context: http://forum.world.st/Scoped-Senders-tp4710563.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
=> create a refactoring scope (I don't know the menu entry, but the shortcut is: CMD-B CMD-R CMD-R (browse restricted regular expression) if you look for senders there you will only see the ones in your current scope. I am currently working on getting a nice scope/environment selector working that we then can add to all tools like senders / implementors and refactorings. On 2013-09-26, at 11:39, "Sean P. DeNigris" <sean@clipperadams.com> wrote:
How do I find the senders of a message, but just in a certain set of packages?
Thanks.
----- Cheers, Sean -- View this message in context: http://forum.world.st/Scoped-Senders-tp4710563.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-------- Original message -------- From: "Camillo Bruni-3 [via Smalltalk]" <ml-node+s1294792n4710572h20@n4.nabble.com> Date: 09/26/2013 10:45 AM (GMT-05:00) To: "Sean P. DeNigris" <sean@clipperadams.com> Subject: Re: Scoped Senders => create a refactoring scope (I don't know the menu entry, but the shortcut is: CMD-B CMD-R CMD-R (browse restricted regular expression) Thank you, perfect! ----- Cheers, Sean -- View this message in context: http://forum.world.st/Scoped-Senders-tp4710563p4710676.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
In AltBrowser, double click on the package you want, in the resulting package-scoped browser, choose the method and select sendersOf in the context menu :) (It may not be working completely at the moment) By hand, write the following. Create a RBEnvironment: | rbp | rbp := RBBrowserEnvironment new forPackages: { }. Then do the senders search on it: rbp referencesTo: aSelector in: rbp Thierry Le 26/09/2013 16:39, Sean P. DeNigris a écrit :
How do I find the senders of a message, but just in a certain set of packages?
Thanks.
----- Cheers, Sean -- View this message in context: http://forum.world.st/Scoped-Senders-tp4710563.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Sean P. DeNigris wrote:
How do I find the senders of a message, but just in a certain set of packages?
Thanks.
----- Cheers, Sean -- View this message in context: http://forum.world.st/Scoped-Senders-tp4710563.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Perhaps not exactly what you want, but I often do something similar using the Finder - clicking the <Choose Packages>, then later changing the search to 'Source'. btw, then I also set the window to <Make unclosable> and <Change title..> to identify the subset. I often have several of these 'permanent' Finders open. Actually I've considered adding tabs to the Finder to consolidate these but haven't got to it yet. cheers -ben
participants (4)
-
btc@openinworld.com -
Camillo Bruni -
Goubier Thierry -
Sean P. DeNigris