Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Rename refactoring open files behavior

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Harry13 Posted - Apr 22 2013 : 01:25:53 AM
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...
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - May 18 2013 : 4:30:54 PM
A good point, thank you for this, I have added a note to the case about this.
gbozoki Posted - May 18 2013 : 08:08:08 AM
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.
accord Posted - Apr 22 2013 : 08:50:38 AM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000