Right now I have to pull up Pending Changes window, right-click on the file and select Compare->With Latest Version... Is there a faster way to look at my modifications?
In the Team Explorer window under Pending Changes:
Set the shortcut for compare folder under Source Control Explorer, you should set the shortcut keys for File.TfsFolderDiff command.
Set the shortcut for compare specific file under Source Control Explorer, you should set the shortcut keys for File.TfsCompare command
Note: To set the keyboard shortcuts, open "Tools > Options". In the dialog that opens, go to "Keyboard". Example:
Note: The folder compare shortcut is only valid from the "Source Control Explorer". It is the same as right clicking in the "Source Control Explorer" and selecting "Compare...".
You can switch the double-click behaviour in the pending changes window to do a compare with latest by changing a registry setting:
Path: HKCU\Software\Microsoft\VisualStudio\<ver>\ TeamFoundation\SourceControl\Behavior Value: DoubleClickOnChange (DWORD) 0 == view as the primary command (default) 1 == compare as primary command
You can find more information here:
A comment on that post also shows the entry to set if you want to use a shortcut key to do the comparison instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With