Visual Studio Code Review Difference Window

后端 未结 2 1905
天涯浪人
天涯浪人 2021-02-01 12:16

When I was doing C# code reviews at first in VS 2012 I was getting a side by side comparison of the old and new code. However now I am getting all code in the same window with r

2条回答
  •  不知归路
    2021-02-01 12:59

    There should be a button on the toolbar like this one that will let you select the 4 different "diff modes".

    enter image description here

    You can also use the following keyboard shortcuts:

    • Ctrl+\, Ctrl 1 - Inline
    • Ctrl+\, Ctrl 2 - Side-by-side
    • Ctrl+\, Ctrl 3 - Left Only
    • Ctrl+\, Ctrl 4 - Right Only

    to change the view.

提交回复
热议问题