[Q][browsing] standard/whisker/RB questions
Karl Ramberg
karl.ramberg at chello.se
Wed May 1 13:19:56 UTC 2002
Jon Hylands wrote:
>
> On 01 May 2002 13:07:21 +0200, Martin Drautzburg <martin.drautzburg at web.de>
> wrote:
>
> > (1) What is the best way to rename an instance variable. If I look up
> > the var refs first, I cannot change the methods because the new
> > variable name isn't there yet. If I change the variable name first
> > I can no longer lookup the var refs. I used to add the new name
> > first then fix the refs to the original name and then delete the
> > original var, but that feels clumsy.
>
> Do the instVarRefs, leave the refs window open, rename the instance
> variable, save the new class def, and then go to the open window and fix
> each method in it.
>
I think RB does this in one sweep.
Karl
More information about the Squeak-dev
mailing list
|