Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Visual Studio equivalent to Eclipse's Local History?

The Eclipse IDE has a nice feature that automatically logs file revisions and you can view them anytime by right-clicking on a file and clicking on Compare With -> Local History....

Is there an equivalent to this in Visual Studio 2010?

like image 486
Souper Avatar asked Oct 22 '12 19:10

Souper


People also ask

Does Visual Studio have local history?

Local History for Visual Studio automatically creates a history of your files every time they are saved. The history can be compared with the current version.

Does Visual Studio have file history?

VSHistory maintains the history of files in your Visual Studio projects every time they are saved. Any saved version can be viewed or a diff with the current version can be displayed. NOTE: The version of VSHistory compatible with Visual Studio 2022 can be found here.

How do I view edit history in Visual Studio?

There isn't any option in Visual Studio Code to see file history. If you are using Git, then you can use Visual Studio Code extension Git History to see the file changes after each commit and compare with previous commits.


1 Answers

Some more updated options:

Every save is stored in a git repository. You can use existing git tools to look at the history:

autogit

This extension provides a custom local history viewer:

Local History for Visual Studio

like image 183
gameweld Avatar answered Sep 24 '22 04:09

gameweld