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
 Feature Requests
 Rename + base classes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Apr 09 2008 :  10:09:08 AM  Show Profile  Reply with Quote
class IFoo
{
    void bar() = 0;
};

class CFoo
{
    void bar() {}
};



CFoo *p = new CFoo();
p->bar(); // Rename to "baz"!

Now rename "bar" to "baz". It won't get affected in IFoo, and you do not get the option to do so either!

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 09 2008 :  3:54:14 PM  Show Profile  Reply with Quote
IFoo and CFoo are not connected. Also you forget to make bar() virtual

If you use derivation it will work only if you are renaming the member in the base class.

It is planned to extend find references (and rename) functionality so it will find base classes from derived classes, but I cannot remember the case number

Update: this is case=3346

Edited by - accord on Apr 09 2008 4:03:09 PM
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 31 2010 :  1:15:27 PM  Show Profile  Reply with Quote
case=3346 is implemented in build 1810

Whole Tomato Software, Inc.
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