TFS shortcut to compare a modified file with the latest version

前端 未结 4 1488
星月不相逢
星月不相逢 2021-02-03 21:53

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?

4条回答
  •  感动是毒
    2021-02-03 22:54

    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\\
                                   TeamFoundation\SourceControl\Behavior
    Value: DoubleClickOnChange (DWORD)
    
    0 == view as the primary command (default) 
    1 == compare as primary command
    

    You can find more information here:

    • How to Double Click to Diff Pending Changes in TFS.

    A comment on that post also shows the entry to set if you want to use a shortcut key to do the comparison instead.

提交回复
热议问题