refactoring a classVariable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

refactoring a classVariable

Sean M-3
How can you refactor class variable names?

Switching to class method list, shows the class instance variables, and not
class variables.

I've found the only way to rename class variables is to it in the class def
window, and then go fix all the broken methods manually. What a pain!


Reply | Threaded
Open this post in threaded view
|

Re: refactoring a classVariable

Andy Bower-3
Sean,

> How can you refactor class variable names?
>
> Switching to class method list, shows the class instance variables,
> and not class variables.
>
> I've found the only way to rename class variables is to it in the
> class def window, and then go fix all the broken methods manually.
> What a pain!

Ah, you need to go to the menus. Try Class/Refactorings/Rename Variable.

--
Andy Bower
Dolphin Support
www.object-arts.com


Reply | Threaded
Open this post in threaded view
|

Re: refactoring a classVariable

Sean M-4
> Ah, you need to go to the menus. Try Class/Refactorings/Rename Variable.

And there it is!

Thank you Andy


Reply | Threaded
Open this post in threaded view
|

Re: refactoring a classVariable

Sean M-4
In reply to this post by Andy Bower-3
> Ah, you need to go to the menus. Try Class/Refactorings/Rename Variable.

Now that I look it's also available when right clicking on the class in the
CHB. I can't believe I never noticed it.