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
 Renaming symbol
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

samaursa
Senior Member

Canada
47 Posts

Posted - May 19 2011 :  4:52:51 PM  Show Profile  Reply with Quote
I have a function named Body in a class. When I rename the function, Visual Assist shows every sing `Body` in the code including #include "Body.h" which will obviously break the code if renamed. It is, for some reason, not respecting the fact that `Body` is a function inside a class and it should not look to rename it elsewhere.

I am not sure why this is happening, it used to work (the code-base is quite large) and is quite frustrating as this is one of most used Visual Assist features for me. I did rebuild the database. Any other suggestions?

Sorry, I cannot post the code, but I can follow any other tips to give you guys more information.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 19 2011 :  6:30:37 PM  Show Profile  Reply with Quote
Are "Display uses in comments and strings" and "Rename in comments and strings" checked? These should control what to do with comments and strings (e.g. includes)

Which version of Visual Assist are you using?
Go to Top of Page

samaursa
Senior Member

Canada
47 Posts

Posted - Jun 12 2011 :  11:55:14 AM  Show Profile  Reply with Quote
Apologies for the late reply.

I had those unchecked. I am using 10.6.1845.0
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 12 2011 :  6:43:10 PM  Show Profile  Reply with Quote
Yes, I check it and you are right, they are always in the list.
However, as I see they're marked with ? icon and are not ticked by default. So shouldn't cause any problem. Are you seeing the same effect there?


Edited by - accord on Jun 12 2011 6:44:20 PM
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