VSHistory for Visual Studio saves a copy of your files every time you save them. They are stored in a special
A custom VSHistory tool window displays each version of project files as they're saved. Each version can either be viewed in a VS window or a difference between that version and the current file can be displayed.
Current File History
The history of the current file (the document that currently has focus) can be displayed from the menu via
It is recommended that you dock the window somewhere, such as
You can see a diff of any version with the current file by clicking
VSHistory settings allow the user to select how many versions should be maintained:
You can choose to have VSHistory files be compressed using GZIP compression when they are saved. This can save disk space if there are a lot of large files being saved in the VSHistory directories.
Location of VS History Files
By default, VS History files are maintained in subdirectories below the source files. You can optionally select an alternate location for VS History files. This is especially useful when opening Visual Studio in Folder View.
All VS History Files
A display of all VS History files is available in settings:
Double-clicking a version will display a diff of that version with the current file.
When a file is deleted, its file histories are kept. To view them, open
You can add a tag to any history file by right-clicking on the timestamp in the "When Saved" column of the VSHistory toolbox.
The user-defined tags you've defined can be viewed in the "User-defined Tags" page of the VSHistory settings. You can also delete a tag on this page.