vscode-git-tree-compare icon indicating copy to clipboard operation
vscode-git-tree-compare copied to clipboard

Add Open Changes with difftool

Open BillDenton opened this issue 1 year ago • 5 comments

Please add a menu option for each file to open the changes with the git difftool. This would trigger the diff tool configured in git. See GitLens (https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) which does this. Thanks.

BillDenton avatar Jun 19 '23 10:06 BillDenton

You can already open the VS Code diff viewer. Can you explain your scenario where this isn't good enough? A screenshot from GitLens would also help here.

letmaik avatar Jun 19 '23 12:06 letmaik

An external diff tool (such as WinMerge) gives a different view of the changes. An external diff tool is more flexible than the VS Code diff viewer. Example menu from GitLens, showing the menu entry to launch the git difftool: image

BillDenton avatar Jun 19 '23 13:06 BillDenton

@BillDenton not trying to cause drrama but I would personally downvote this one as it seems kinda niche to me. Maybe there is another way to get there from vscode-git-tree-compare's file diff that doesn't require adding additional buttons/menu opts to vscode-git-tree-compare?

tnrich avatar Dec 07 '23 17:12 tnrich

@tnrich I don't know if there is an alternative method. I find git tree compare gives a nice display, but GitLens search & compare gives more information and supports external diff (git difftool). In addition, it has tick boxes so you can track which files you have inspected. I've only recent discovered this. So I'm happy to let this defect be closed with "won't fix".

BillDenton avatar Dec 07 '23 17:12 BillDenton

@BillDenton I'm not actually sure what vision @letmaik has for this tool but I personally love how simple and clean it is (unlike gitlens which is bloated to the point of being cumbersome). Thanks for being receptive to my feedback! :)

image

tnrich avatar Dec 07 '23 18:12 tnrich