Search code examples
visual-studio-codediffvscode-extensions

How to view inline diff of multiple files at once in VS Code?


In VS Code, for a given commit I would like to see inline diffs from all files in one view or page, so that I would not have to click to see diffs for each file separately. I can't find any extension that would do this.

Basically I'm looking for a feature like there is in Bitbucket when you click on a given commit, and you see all the differences in one page. Something like in the picture below.

bitbucket diff view


Solution

  • As @studgeek comments above, this is no longer necessary in 2024. Use the built-in "review multiple files" feature.

    Previous answer:


    This was, as commented, posted on the GitLens issue-tracker; one commenter appears to have gotten fed-up, and created a separate extension for exactly this purpose.

    You need a pair of two:

    Then you get a nice single-click button that produces something like this:

    screenshot of vscode showing a visual side-by-side diff just like on GitHub