Visual Studio 2005 and 2008 add-in which provides the IDE with a local file history à la Eclipse, with a convenient and configurable way to view, restore, delete, and compare differents versions.
This project is discontinued, but main features are functional.
to see the request made by MatthieuGD on Microsoft Connect to get a built-in feature for local history in Visual Studio.
Auto-detected and preconfigured file comparison tools
- When you save a file in Visual Studio which belongs to the main solution (i.e. is not a misc file), this add-in copies a backup of the file in a database local to the solution. There is one history database per solution (not per project). This database
can be found in the same directory as the solution file (.sln), it's stored in a hidden directory whose name begins with ".VLH2005.". You can have as many solutions as you want in the same directory.
- When you are viewing a file which has a history, the history window shows all revisions of this file, and you can open, delete, restore, and compare those revisions the easy way.
- You can configure the tool used for file comparison, the number of days to keep a backup in the history, the minimum time between two backups, and a list of extensions to ignore.
- Several file comparison tools are automatically detected and preconfigured (see below for the list). If your favorite tool is not on the list, you can easily configure VLH2005 to use it with command-line options.
- It tracks renamed files, so you won't loose the history of a file when you rename it inside Visual Studio.
- It tracks renamed solutions too, so you won't loose the history of a solution, even if you rename it outside Visual Studio.
- When you save the main solution in a new folder within Visual Studio, the history database is automatically moved in the same folder.
- It always maintains a clean database: whatever you do, the .history folder will never store unused data, since it's cleaned up when you open or close a solution.