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
486128db-d233-40af-b955-1d68c8934664|5|4.8
Tags: