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
 Rename refactoring open files behavior
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Harry13
Starting Member

1 Posts

Posted - Apr 22 2013 :  01:25:53 AM  Show Profile  Reply with Quote
I'm currently using Visual Studio 2010 and Visual Assist X to do rename refactorings in managed C++ code. For small codebases or renaming items which are not used very often in the code it works great.

It's almost impossible to rename an item which is used frequently in a large codebase because Visual Assist X keeps every changed file open and unsaved. This means if there are a lot of files open the next file takes even longer to be opened.

Since I'm using version control this does not make sense to me because I could revert all the changes if something went wrong.

Is there a way to do that refactoring without keeping files open? I did not find any information about so far...

For example: I have a solution with about 100 projects. If I rename a class which is used frequently, Visual Assist X's execution of renaming can take up to 30 minutes or more. It opens every file which must be changed. As longer the renaming runs, the more files are open in VS and the more longer it takes to open another file...

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 22 2013 :  08:50:38 AM  Show Profile  Reply with Quote
Good points! I have put in a feature request for some kind of "fast mode" where undo will not be possible:

case=73799

Thank you for the clear description of this problem.
Go to Top of Page

gbozoki
Ketchup Master

USA
70 Posts

Posted - May 18 2013 :  08:08:08 AM  Show Profile  Reply with Quote
If you add this feature (which could, indeed, be useful), please make sure that it's clearly shown to the user (perhaps every time) that undo is impossible.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - May 18 2013 :  4:30:54 PM  Show Profile  Reply with Quote
A good point, thank you for this, I have added a note to the case about this.

zen is the art of being at one with the two'ness
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