[Pharo-project] rename a symbol
May 12, 2010
6:13 p.m.
is there a way to do a refactoring that takes all instances of a symbol and renames them? So if I had a symbol #Foo in a method, rename it and all other uses of #Foo to #Bar.
May 12, 2010
6:34 p.m.
is there a way to do a refactoring that takes all instances of a symbol and renames them?
So if I had a symbol #Foo in a method, rename it and all other uses of #Foo to #Bar.
The menu "refactor | rewrite code" and RBParseTreeRewriter new replace: '#Foo' with: '#Bar'; yourself does a parser tree replacement. Lukas -- Lukas Renggli www.lukas-renggli.ch
5924
Age (days ago)
5924
Last active (days ago)
1 comments
2 participants
participants (2)
-
Lukas Renggli -
Sean Allen