Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to go to next changes in VS Code side-by-side view?

Tags:

I can view side-by-side comparison to current and previous file version in VS Code Source Control/Git View. Are there any hotkey's to navigate on my changes i.e. go to next/prev changes from the keyboard just as if I clicked the Next Change button?

VS Code Diff View Next Change button

Unfortunately I haven't found anything about it in the key binding documentation page

like image 429
Misha Ustinov Avatar asked Feb 02 '17 09:02

Misha Ustinov


People also ask

How do I switch between split screens in VS Code?

In VSCode (v1. 64) F6 is already assigned to the command that switches between "parts", which is also useful, so I did Shift+W instead.

What is Ctrl Shift P in VS Code?

You can define a keyboard shortcut for any task. From the Command Palette (Ctrl+Shift+P), select Preferences: Open Keyboard Shortcuts File, bind the desired shortcut to the workbench.


1 Answers

To go to the next difference use Alt + F5.

To go to the previous difference use Shift + Alt + F5.

like image 155
j08691 Avatar answered Sep 22 '22 08:09

j08691