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

Dunemaster
New Member

Russia
8 Posts

Posted - Apr 11 2013 :  01:50:47 AM  Show Profile  Reply with Quote
On large C++ projects the "Rename method" refactoring takes minutes sometimes, as it searches through the solution to identify method usage.

I would suggest an optimization for private methods. There is not need to search through the whole solution, only methods of the same class should be examined.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 11 2013 :  12:18:43 PM  Show Profile  Reply with Quote
Friend classes can complicate things, so we would still need to find those because we don't know which file contains the friends.
Are you aware that you can stop the search any time, without closing the window or loosing the references? So if you are confident that there will no be more references, you can hit the "Stop" button, since when you start a rename or find references from a header, VA will then continue finding references from the corresponding file (the cpp this time), which usually contains the implemented methods of the class (thus the other references as well), so you can nearly immediately stop the search.

Does this makes sense?
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