Can I use structured replace to rename all occurrences of a function?
I've just changed a bunch of my Actionscript classes to have a function named foo(). Actually, it's a getter, whose signature is this:
public function get foo() : String
I just realized that I'd like to change "foo" to "bar". They don't all implement an interface or subclass a common parent, so I can't use Refactor -> Rename. I know I could just do a normal Search and Replace, with context "Changed Files", but I'm trying to use Structured Search more, and so I got to thinking about Structured Replace for this.
However, I couldn't come up with the right incantation.
Is there a way to use SSR for this kind of thing?
Please sign in to leave a comment.