Shortcut to compare files in the Pending Change window

by Ewald Hofman 1. July 2010 06:54

Update: added the settings to change the default behaviour

In the pending changes window you can double click a file, which opens the file. Another action I perform frequently in the dialog is to compare the file with the latest version to see which changes I have done to the file.


Instead of opening the context menu, there is also an undocumented shortcut for this feature:Press SHIFT while double clicking the file, or you can use SHIFT + ENTER when you prefer using the keyboard.

If you want to change the default behaviour, you must change the registry:

                Path:     HKCU\Software\Microsoft\VisualStudio\<ver>\TeamFoundation\SourceControl\Behavior
                Value:   DoubleClickOnChange (DWORD)
                                0 for view as the primary command (default)
                                1 for compare as primary command


Comments are closed

Powered by BlogEngine.NET
Theme by Mads Kristensen


Widget Statistics not found.

There is an error in XML document (0, 0).X

Recent comments

Comment RSS