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!
Click on the badge and the extension will open the Team Explorer "My Work" page. "My Work" page will have Code Review Comments section at the bottom. As you can see two code reviews have bold font, meaning those two reviews have new related comments (comments to your code review or replies on your comments).
Before getting deeper into the specifics, the main distinction between these editors is that Visual Studio is a full-fledged Integrated Development Environment (IDE), while Visual Studio Code is a rich text editor. This primary difference sets them apart and is why you might choose one over the other.
If you need to collaborate with team members on development or debugging, then Visual Studio is the better choice. If you need to do serious code analysis or performance profiling, or debug from a snapshot, then Visual Studio Enterprise will help you. VS Code tends to be popular in the data science community.
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+\
, Ctrl 1
- InlineCtrl+\
, Ctrl 2
- Side-by-sideCtrl+\
, Ctrl 3
- Left OnlyCtrl+\
, Ctrl 4
- Right Onlyto change the view.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With