Hi,
an interesting concept that is defender in Visual Studio 11, is the ability to “save a State of Visual Studio 11″.
Let’s assume that we are working on a project, we open a couple of files .cs in which we are editing code and that also have Open Source Control Explorer and a couple of consultations of WorkItems.
The option “My Work” in Team Explorer, we can see also the elements that we are editing and the WI that we are working.
Now suppose that we receive an urgent demand that forces us to close the working environment to load a new solution and do something in it. Generally speaking, in this type of scenario and not to lose the “working environment”, which usually do is open a new instance of Visual Studio.
Now with Visual Studio 11, we have the ability to suspend active work, to avoid the need to open another IDE. The option to “suspend” are asking for a description for the State as shown in the following image.
In addition to save the State of the active elements in the IDE, the Suspend option saves a Shelveset with the files and the code that we are working.
Then we can close all the files in the IDE, loading a new solution, etc; and continue working with the “urgent issue”.
Then when we want return to the previous state, just access the “My Work” section and in the queue, we can see the saved state and also the elements which were stored the same.
In addition to the option of restoring to previous working state, can perform a Merge with our current work, or even request a revision of this State (in a future post will speak of this).
If for example, to make a merge, since we can see the changes and conflicts between different versions.
To sum up, this option not only helps us to change project quickly, but also to leave small snapshots of our project in order to then return to the same or analyze the changes from that point.
Greetings @ ALM Summit
The Bruno

Leave a comment