Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1626: Refactor rename issue!
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ChrisWest
Junior Member

14 Posts

Posted - Apr 03 2008 :  09:59:36 AM  Show Profile  Reply with Quote
Hi There
I have a problem with the renameing with Refactor. Quite often I go to rename a class member and VA wants to rename anything it can find with that name even in different projects in the solution. For example:
#define GetVert(a) int a = flobble + 1;

class TestIt
{
	int	flobble;
};

If I try to rename 'flobble' in the class VA also selects the flobble in the define for renaming. I can see why maybe sometimes this is desired but to want to rename items in seperate projects with no connection is a bit odd. A friend has an older version of VA and when he tries the flobble in define is left intact and not selected for renaming.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 03 2008 :  5:38:26 PM  Show Profile  Reply with Quote
This is case=9860.
#define entries should be marked by a question mark icon in Find References, and should not be ticked by default in Rename.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000