的Visual Studio 2012代码审查差异窗口

问题描述:

当我最初在VS 2012我被新老代码方面的比较得到一个侧面做C#代码审查。
但是我现在越来越在同一个窗口中的所有代码用红色线旧代码和绿线的新代码。
我找不到改变这一回差窗口的选项。
我知道这是一个简单的问题,但任何帮助将不胜感激!

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!

应该有一个按钮工具栏像这样的,可以让你选择4种不同的差异的模式。

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

您也可以使用以下键盘快捷方式:

You can also use the following keyboard shortcuts:


  • 按Ctrl + \ 控制1 - 内联

  • 按Ctrl + \ 控制2 - 侧并排

  • 按Ctrl + \ CTRL 3 - 只剩

  • 按Ctrl + \ 控制4 - 仅右

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

改变视图。