Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get rid of inline annotation? #171

Closed
geddski opened this issue Oct 16, 2017 · 9 comments
Closed

how to get rid of inline annotation? #171

geddski opened this issue Oct 16, 2017 · 9 comments
Assignees
Labels

Comments

@geddski
Copy link

geddski commented Oct 16, 2017

I've tried a ton of settings but can't seem to get rid of this inline annotation in my working files:

image

How do I disable this?

@eamodio
Copy link
Member

eamodio commented Oct 17, 2017

Hard to tell for sure in that screenshot but it looks like that is the code lens (appears above a line) -- if so you can use "gitlens.codeLens.enabled": false to turn it off. If that is actually the end of line annotations then you can use "gitlens.blame.line.enabled": false to turn it off.

Hope that helps.

@eamodio eamodio self-assigned this Oct 17, 2017
@geddski
Copy link
Author

geddski commented Oct 17, 2017

ahh gitlens.codeLens.enabled was it! Thank you!

@geddski geddski closed this as completed Oct 17, 2017
@sfertman
Copy link

Thank you for Gitlens! It is a great extension and I use it all the time.

I have just one issue that keeps bugging me: blame is very useful and gitlens makes it conveniently appear in the editor with a click of a button; but do the annotations really need to be there all the time and by default? In addition to the code clutter, every time you switch to a file you get that "bump" effect that opens up new lines in the code and then slow fade-in of codelens text... So, usually the first thing I do after installing is googling how to disable this.

@eamodio
Copy link
Member

eamodio commented Feb 15, 2018

Thank you! In GitLens 8 there is a new WYSIWYG settings editor to allow you to very easily configure GitLens exactly to your needs. You can open it from the Command Palette -- GitLens: Open Settings

@sfertman
Copy link

Oh, this is a great feature!

@eveevans
Copy link

You can also activate gitLens Zen Mode (this disable some visual features like inline annotation)
I configured a shorcut to toggle this mode on: gitlens.toggleZenMode

@stephen-costa
Copy link

... If that is actually the end of line annotations then you can use "gitlens.blame.line.enabled": false to turn it off.

Ended up being "gitlens.currentLine.enabled": false for me, not sure if they changed it since then or not but figured I'd update here for posterity.

@Domiii
Copy link

Domiii commented Sep 7, 2020

In latest version, things seem to have changed a bit. This works though:

"gitlens.codeLens.enabled": false,
"gitlens.blame.highlight.enabled": false,
"gitlens.currentLine.enabled": false

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants