exan
exan

Reputation: 3955

How to get rid of GitLens+ Pro screen in VS Code?

I installed GitLens in VS Code. Then it asked if I wanted to try the GitLens+ features. I clicked "Yes". Now I am stuck at the welcome screen and can't get past it. Any ideas how to get rid of this annoying screen?

enter image description here

Upvotes: 24

Views: 24133

Answers (7)

ProfDFrancis
ProfDFrancis

Reputation: 9431

Use a cleaner GitLens fork that doesn't press for "Pro"

I achieve all the functionality I need, and no nagging, using a combination of two extensions:

  • Gitless is a Gitlens fork from before it went down the nag-ware route.
  • Git Graph provides a very nice "railway-track" display of commits.

So you could achieve your aim by uninstalling GitLens and installing Gitless and Git Graph.

Notes

GitLess

This is a fork of Gitlens v11.7.0, before the introduction of premium features in Gitlens. It provides:

  • inline git blame within the editor
  • a side pane with commit history

Git Graph

This has the best "railway-track" plotting algorithm for Git that I have come across. The author hasn't updated the code since 2022 but it is working fine for me and many others.

Git Graph

Git History

An alternative to Git Graph is Git History, which remains under active development, although its "railway-track" display is less compact and efficient than Git Graph's

Upvotes: 7

user3443139
user3443139

Reputation: 801

Hide GitLens+ Features from the Command Palette GitLens+: Hide GitLens+ Features

To restore from the Command Palette GitLens+: Restore GitLens+ Features

Newer versions (Version 14.1.1+) you may have to try GitLens: Hide Pro Features

Upvotes: 30

Fez Vrasta
Fez Vrasta

Reputation: 14835

I wanted to hide the pro features by default for a specific VS code project because it's shared with other developers, where GitLens is a recommended extension in the committed configuration file, and I didn't want them to have an overwhelming onboarding experience.

I found out I can add this setting to the committed vscode settings to have the features automatically hidden:

"gitlens.plusFeatures.enabled": false

Upvotes: 1

exan
exan

Reputation: 3955

The problem here is that when we install GitLens extension then all the GitLens features and buttons are added under the generic source control tab (Ctrl+shift+G). Even though GitLens creates a new tab of its own and it looks like all features and buttons are hiding behind the welcome screen. This is not the case and everything but the welcome screen is under the generic source control tab. Poor design choice indeed.

Upvotes: 2

MattG
MattG

Reputation: 6445

Uninstall gitlens extension. Productivity extensions shouldn't reduce productivity by putting up adds that can't easily be closed.

Upvotes: 28

Anonymous
Anonymous

Reputation: 91

I had the same problem, but I was able to solve it by following the steps below.

  1. Open the sidebar extension
  2. Click the down arrow to the right of the uninstall
  3. Install another version
  4. Install 11.7.0
  5. Reload

But there was no Gitlens in the sidebar So next

  1. "git lens: show welcome view" in the command palette
  2. Select "git lenses layout" in "view" of "quick setup"

Gitlens is displayed in the sidebar

  1. Then install the latest version

Gitlens is displayed in the sidebar

I hope it helps you even a little.

Upvotes: 9

rmjoia
rmjoia

Reputation: 980

Go to VS Code command Pallete and select GitLens+: Sign out of Gitlens+

that should get you to the previous experience.

How to sign out of Gitlens+ on VS Code

you can also use the the VSCode Command Pallete to display the views you want, such as

Show Stashes view

I think I had the same issue on Windows (now I'm on my mac) so I went back to Windows, created a new account, and started the trial since logging off of my account on Windows didn't result in that scenario.

I couldn't reproduce it on Windows either.

I'm thinking that might be a glitch, I'm sure you already tried to close VSCode and open again, so, maybe try to sign out and sign in again.

If you want to remove the "home" view, use the elipses on the top right and untick it. Also, check if the other views are enabled.

enter image description here

Upvotes: 4

Related Questions