moshfeu/vscode-compare-folders

[feature request] Ability to use Git blame/change history overlay from Gitlens with Compare Folders view

Closed this issue · 2 comments

Hi, great extension! It does exactly what I expected it to do. Making this issue as requested.

Sometimes I would compare two files' text with the "select for compare/compare with selected" options and I use the Gitlens extension to show git blame/history overlay between the two files where it shows the git info next to the appropriate line like below:

image

The Gitlens extension button to show the git blame/history overlay is shown in the upper right of the editor tab when I compare two files without using Compare Folders but the buttons are not shown when using Compare Folders to compare two files even though the displayed 2 column "diff" interface looks similar.

I'm not familiar with how vscode extensions work so I assume that this may be a limitation with Gitlens or Vscode. But maybe there is an easy way to use Gitlens git overlays within Compare Folders.

Thank you! Really appreciate ❤️

The extension is using the built-in "diff view" (opened by vscode.diff. I believe that it's the same view as "select for compare/compare with selected"'s.

I do see that git blame button for the diff view presented by compareFolders

Screen.Recording.2023-01-10.at.9.54.16.mov
stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.