[squeak-dev] Find all users of a global variable
bert at freudenbergs.de
Wed Mar 12 13:21:38 UTC 2008
On Mar 12, 2008, at 13:44 , Diogenes Moreira wrote:
> Hi niko, the easiest way to find all methods where instances create
> is the Finder Tool, that tool are in World>>Open Menu>> Code Finder.
> This not is very performance but work. This tool have a simple and
> powerful syntax...you can find a complete explanation in the same
> On Wed, Mar 12, 2008 at 10:35 AM, Niko Matsakis <niko at alum.mit.edu>
> Is there an easy way to find all methods that reference a global
> variable? In particular, I'd like to use this to find (for example)
> all methods that create instances of a certain class...
Actually, the easiest and fastest way is to select the Class (or any
global) and press Cmd-Shift-N (Alt-Shift-N on PCs). This is also in
the Browser - select the class, bring up the menu, choose "class refs
(N)". The uppercase N describes the shifted short cut.
- Bert -
More information about the Squeak-dev