Paddy
Paddy

Reputation: 936

Visual Studio Code Review Difference Window

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 red lines for old code and green lines for new code. I cannot find the option to change this back to a difference window. I know this is a simple issue but any help will be greatly appreciated!

Upvotes: 59

Views: 15148

Answers (2)

Shiv
Shiv

Reputation: 129

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

Side by side mode

Upvotes: 10

DaveShaw
DaveShaw

Reputation: 52798

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.

Upvotes: 119

Related Questions