[Pharo-project] Finding all places where a class is instantiated?

Lukas Renggli renggli at gmail.com
Sun Jan 15 19:35:38 CET 2012


I've added a refactoring scope 'Refactoring Scope > Instantiations'
that finds all the places where a method is sent to the selected class
that eventually ends up in #basicNew or #basicNew:. If you don't use
reflection this gives better and less false-positives than just the
class references.

Lukas

On 15 January 2012 19:29, Mariano Martinez Peck <marianopeck at gmail.com> wrote:
>
>
> On Sun, Jan 15, 2012 at 7:10 PM, Stefan Marr <smalltalk at stefan-marr.de>
> wrote:
>>
>> Hi:
>>
>> On 15 Jan 2012, at 19:06, Stéphane Ducasse wrote:
>>
>> > Stefan why Shift+N is not enough for you?
>>
>> Shift+N? I assume you refer to cmd+n on a Mac, which gives me all senders.
>
>
> No. cmd + shift + n  gives you the list of references to a class.
>
>>
>> Well, senders of #new is not exactly helpful.
>>
>> Best regards
>> Stefan
>>
>> --
>> Stefan Marr
>> Software Languages Lab
>> Vrije Universiteit Brussel
>> Pleinlaan 2 / B-1050 Brussels / Belgium
>> http://soft.vub.ac.be/~smarr
>> Phone: +32 2 629 2974
>> Fax:   +32 2 629 3525
>>
>>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>



-- 
Lukas Renggli
www.lukas-renggli.ch



More information about the Pharo-project mailing list