vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

Add GitLens Sidebar view after install, even if VSCode does not have a repo open

Open mcdwayne opened this issue 2 years ago • 0 comments

When installing GitLens, if VSCode does not have a repo open, then the GitLens sidebar does not show up currently. Once you open a repo, all works as expected, but it is not obvious that you need a repo open to see the GitLens sidebar, as the Source Control, File Explorer and other stock items do not require it

Request is to have the GL sidebar appear regardless of if a repo is open or not.

Background: Upon installing Fedora 35, I was setting up my dev tools but had not yet cloned any repos down.
I installed VSCode and next installed GitLens (as I can't imagine working without it now) and thought I hit an error as the sidebar did not show up. Once I cloned a repo down and opened it in VSCode then GL started working as expected, but this seriously threw me off. I think is a realistic, but likely less often encountered scenario that would be run into, especially by people that change OS installs like socks ;) Even if it just had the Welcome screen allowing me to connect to my GL+ account, I think that would be enough to let me know it is working. It would make sense to hide all the other sections until it can see a repo IMHO though.

mcdwayne avatar Apr 27 '22 19:04 mcdwayne