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

后端 未结 5 1562
说谎
说谎 2021-01-01 10:14

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

相关标签:
5条回答
  • 2021-01-01 10:34

    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

    0 讨论(0)
  • 2021-01-01 10:39

    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

    0 讨论(0)
  • 2021-01-01 10:41

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

    0 讨论(0)
  • 2021-01-01 10:47

    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.

    0 讨论(0)
  • 2021-01-01 10:56

    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.

    0 讨论(0)
提交回复
热议问题