T O P I C R E V I E W |
donald3102 |
Posted - Nov 20 2006 : 10:26:41 AM Refactor is very useful in my work. But I found that "rename" only works in the file that opened. For example, if I want change variable "point" to "m_point", variables in the .cpp file had changed, but still remain "point" in .h file. I think "rename" shoule change all variable names in the Project(Solution), not only the .cpp file. A plugin named ref++(http://refpp.com) works well. But the speed is too slow to stand. |
2 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Nov 20 2006 : 2:45:37 PM Can you try running Find References on "m_point" and see what happens? Rename uses the results from Find References to do the code changes.
I use rename quite a lot, and it always updates all of the files for me. Are you using source control, so that the .h file is not yet checked out and is marked as read only? |
rhummer |
Posted - Nov 20 2006 : 10:30:00 AM What version of VA X are you using? I've used Rename on a whole project a few times and it works just fine. |
|
|