30

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?

0

5 Answers 5

17

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

2
  • Promising, but those extensions are only available with VS for Windows, not VS for Mac. Would be great if that feature was part of VS itself.
    – Thibault
    Jul 20, 2017 at 6:28
  • 2
    "Would be great if that feature was part of VS itself" I find myself thinking that a lot...
    – nasch
    Feb 19, 2018 at 18:42
5

Local History for Visual Studio is similar to Eclipse or IntelliJ's local history feature. It works with Visual Studio 2012 and 2013.

3

There is not natively in Visual Studio but what about Visual Local History. It has the option to 'Compare with last version'. It should work well for VS 2005, 2008 and with some extra configuration for 2010.

3

For Visual Studio 2015, 2017, 2019 VSHistory extension: 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

2

There is not an equivalent feature for local history.

However, if you're using TFS, there is support in the IDE for getting history of files (though this is commited/checked history).

Many other version control systems also have plugins for Visual studio which provide this type of functionality. For example, VisualHG provides an "HG History" command which shows the version history in the Mercurial repository.

2
  • You're right, with TFS click right on the file and choose View History. After it's similar to Eclipse IDE
    – general03
    Oct 28, 2014 at 15:22
  • 14
    I don't know why this answer is accepted - the described history is not "local" like Eclipse's Local History, it's a history of what was checked in/committed. Very different thing.
    – E-Riz
    Apr 17, 2017 at 15:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.