Undo and Redo Global Actions
Menu: Edit -> Undo Last Global Action; Edit -> Redo Last Global Action
Command: Edit.UndoLastGlobalAction; Edit.RedoLastGlobalAction
Versions: 2008,2010
Published: 2/23/2010
Code: vstipEdit0020
Everyone knows about Undo and Redo but did you know there are Global versions of these actions on the Edit Menu?
By definition, global actions impact multiple files. Global actions include renaming a class or namespace, performing a find-and-replace operation across a solution, refactoring a database, or any other action that changes multiple files. You can apply the global undo and redo commands to actions in the current Visual Studio session, EVEN AFTER you close the solution that an action applies to.