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.

image

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

Tags:

Comments are closed

Powered by BlogEngine.NET 1.6.1.0
Theme by Mads Kristensen


About the author

 

Ewald Hofman is MVP VS ALM and consultant at Avanade. His specialization is Application Lifecycle Management solutions based on Visual Studio ALM.

 

   

ClusterMap

Statistics

Statistics created at 09 Sep 2009

121 posts
428 comments
194 raters
1069082 visit (1216 per day)
22 users online

Recent comments

Comment RSS