Working with Documents in Microsoft Visual Studio
- 8/24/2011
- 04.01 Insert Documents to the Right of Existing Tabs
- 04.02 Recent Files
- 04.03 Working with Documents on Multiple Monitors
- 04.04 Navigate Open Document Windows
- 04.05 Close the Current Document Window
- 04.06 Open a File Location from the File Tab
- 04.07 Open the File Menu Drop-Down List from Your Keyboard
- 04.08 Using the IDE Navigator
- 04.09 Multiple Views of the Same Document
- 04.10 Closing Just the Selected Files You Want
- 04.11 Understanding the File Open Location
- 04.12 Show Previous Versions
- 04.13 Using Custom File Extension Associations
04.12 Show Previous Versions
VERSIONS |
2008, 2010 |
CODE |
vstipEnv0036 |
Ever want to go back in time when you save a change to your code that you didn’t want saved? If you use source control, you are usually OK, but if you don’t, this tip is for you.
If you run a Windows Vista or later operating system (excluding Home Editions), you have an option you might not have noticed before called Show Previous Versions. It shows up in various applications, such as Notepad, as shown in the following illustration.
You can also see this option in the Open Project dialog box as well.
When you click Show Previous Versions, you can see prior versions of the current directory you are in, as shown in the following illustration.
Now you can open previous versions of solutions, projects, files, and so forth, and do what you like.