Skip to content

Open a whole diff #2212

@jacekkopecky

Description

@jacekkopecky

I can't seem to find a way to see a commit, or the current staged or unstaged changes all as a single view of all changed chunks, like what git diff would show. In GitHub, diffs are viewed like this.

Screen Shot 2022-09-12 at 09 32 09

There is a VSCode extension, caponetto/vscode-diff-viewer, which can show a diff file like that, including the "Viewed" button. For me, this is a favourite way of reviewing changes across multiple files.

Here's the feature I'm requesting:

Wherever GitLens can show a list of changed files, there should be an option to open the whole diff as one editor.

For example, in the Commits list inside Source Control, every commit has "Open changes" in its context menu. Among those changes there could be something like "Open diff".

Screen Shot 2022-09-12 at 16 35 47

What do you think?

I'll be happy to try to work on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-verificationRequest for verificationpending-releaseResolved but not yet released to the stable edition

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions