Hi.
GitLens has a feature called "GitLens explorer", which is said to support both a tree layout and a list layout. This section explains about the feature: https://github.com/eamodio/vscode-gitlens#gitlens-explorer - however, it does not say how / where to find it.
I can't seem to find it anywhere. Where is it?
gitlens.gitExplorer.enabled is true.
Thanks.
For now I found a way: In the "View" menu, select "Open View..." and type in "GitLens".
A new section will appear under the "Explorer".
(I was hoping it should be under "Source Control", though.)
Now... Is there a more intuitive way for opening it?
@marc2377 If you hadn't previously turned off the GitLens explorer it should have shown up (albeit collapsed) on the Explorer activity. There should be only 3 ways it wouldn't show up:
"gitlens.gitExplorer.enabled": falseWere any of the above true?
In fact, I did not know beforehand it would be under "Explorer", and if it was collapsed, I must've missed it.
Perhaps there is also the fact that I was expecting the functionality to be available for _files_ opened directly in the editor (i.e. without opening any _folder_). In which case alternative number 3 would be true.
I'm considering opening a separate feature-request issue about this. The VS Code's native Git integration works this way. Do you know of any reason why it shouldn't be possible with GitLens?
Thank you.
Ah, I see. Feel free to open a new feature request to support single files. It should certainly be possible in GitLens, but will likely require some rework.
Have you removed "gitlens.gitExplorer.enabled": false option? Can't find it in default VS Code's settings and if I add it to my user settings, VS Code says that the command is unknown.
@LAITONEN The GitLens explorer has been broken up into multiple views -- See https://github.com/eamodio/vscode-gitlens#side-bar-views. Each of them now have their own settings -- it is easiest to use the _GitLens: Open Settings_ command to configure them.
Hope that helps!
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
@marc2377 If you hadn't previously turned off the GitLens explorer it should have shown up (albeit collapsed) on the Explorer activity. There should be only 3 ways it wouldn't show up:
"gitlens.gitExplorer.enabled": falseWere any of the above true?