letmaik / vscode-git-tree-compare

🎄 VS Code extension for comparing the git working tree against a branch, tag, or commit, displayed as folder tree
https://marketplace.visualstudio.com/items?itemName=letmaik.git-tree-compare
MIT License
60 stars 7 forks source link

Add Open Changes with difftool #93

Open BillDenton opened 1 year ago

BillDenton commented 1 year ago

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.

letmaik commented 1 year ago

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.

BillDenton commented 1 year ago

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

tnrich commented 11 months ago

@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?

BillDenton commented 11 months ago

@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".

tnrich commented 11 months ago

@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