Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 A Problem with Refactor "Rename"

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000