79660214

Date: 2025-06-10 10:07:42
Score: 0.5
Natty:
Report link

Once viewing a (any) diff, to view files side-by-side or inline, there is the Compare: Toggle Inline View command that does just that, as @rio was on to above. I wanted to clarify what the command is called (and a comment does not allow images, nor snippets, hence this answer).

So, if you get a diff in inline view and want to view it side-by-side, just hit that command, here in the vs code command palette (ctrl-shift-p):

vs code command palette opened showing Compare: Toggle Inline Viewenter image description here

Command name for keybindings.json is toggle.diff.renderSideBySide:

{
    "key": "ctrl+alt+f12",
    "command": "toggle.diff.renderSideBySide",
    "when": "textCompareEditorVisible"
}

Hope this helps someone that came looking for this!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @rio
  • Low reputation (0.5):
Posted by: mawi