ReName all private instance Variables in Class
I've inherited a large code base, that has been "generated". Most of the private variables within classes are not correctly named and R# is correctly providing hints:
I was wondering if it is possible to rename all in one action, rather than having to select every one induividually?
Please sign in to leave a comment.
Hello,
No, currently it is not.
—
Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”
Perhaps a solution to this is covered in the thread: http://www.jetbrains.net/devnet/message/5264001#5264001
Hello,
The Structural Search & Replace patterns are not an alternative to a Rename
because they're not able to update all of the usages the way the Rename refactoring
does.
—
Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”
See? This is another example where a "fix all issues like this" item in the
quick-fix pop-up is useful :)
"Serge Baltic" <baltic@intellij.net> wrote in message
news:dc0986bf1559788cccbdabbdd7442@news.intellij.net...
>
>> I was wondering if it is possible to rename all in one action, rather
>> than having to select every one induividually?
>
>
>
Fix "All Like This" would do it.
Perhaps if All was limited to class hierarchy or class.