Visual Studio Code Review Difference Window

后端 未结 2 1895
天涯浪人
天涯浪人 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:49

    Below screenshot will help in setting the option to compare side by side.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题