SCM Graph - display list of files in the commit in the graph
Type: Feature Request
currently the source control graph does not have a file explorer view. if you have a file with a large number of changes ex. package-lock.json in a commit and you are clicking on the commit it takes a long time to open the diff view. most of the time i want to know the file names i have in the commit and then explore one or two of these file. the current implementation forces to view all file diff instead of specific files, making it slower in my opinion. my suggestion is to have a file explorer kind of view (Git Graph like approach).
VS Code version: Code - Insiders 1.97.0-insider (3d0aeb47a2ecfde9ff5141470b30c36d41c321d9, 2025-01-20T05:04:25.114Z) OS version: Windows_NT x64 10.0.22621 Modes:
the expected file list is part of the VSCode insiders build, i found that out today.
Please try the latest VS Code Insiders release (1.101) as we now expand the commit in the graph. We only support a flat list at the moment as rendering a tree structure within the graph has some complexities. Please give this a try and let us know if you run into any issues. Thanks!
@lszomoru, i found the file list very useful.
The expand feature could also benefit by a collapse all button in case user wants to collapse all the expanded commit (this is just my personal preference)
I'm not seeing a visual clue that this "double-click" feature exists. Maybe add an action button alongside the "Open Changes" one which recently arrived.
@gjsjohnmurray, do you have workbench.tree.expandMode set to doubleClick?
@gjsjohnmurray, do you have
workbench.tree.expandModeset todoubleClick?
@lszomoru yes I do. And probably a good thing, at least until we get a Collapse All button. Otherwise each row I click on will expand and I'll have to resort to Ctrl+LeftArrow to collapse them all, or else be careful to click a second time on the first row I selected before selecting the next.
@lszomoru
We only support a flat list at the moment as rendering a tree structure within the graph has some complexities. Please give this a try and let us know if you run into any issues. Thanks!
the tree structure in the graph looks good 🥳
@lszomoru This button not works. Cannot open the file. I use this feature in browser, instead of the edition of electron.
@lszomoru A suggestion, when opening a commit, it should close the previous one. That means, we should not open more than one commit at the same time. This is inspired by Git Graph extension.
@lszomoru This button not works. Cannot open the file. I use this feature in browser, instead of the edition of electron.
Thanks! Looks like a regression. Fix will be available in Monday's VS Code Insiders release.
@lszomoru A suggestion, when opening a commit, it should close the previous one. That means, we should not open more than one commit at the same time. This is inspired by Git Graph extension.
This seems like something that should be configurable.
Closing as duplicate of https://github.com/microsoft/vscode/issues/248696. For any feedback and additional feature request/bugs please file separate issue(s).