How to disable Git indications (Gutter) of modified lines in Vscode?

Asked

Viewed 39 times

1

Every time I’m programming, I have difficulty annotating the Git Lens extension in Vscode. The problem is that when I want to collect lines of code - by clicking on that down arrow - I end up accidentally clicking on those buttons of the indications that open a window and it disturbs me a lot.

Here is a photo illustrating:

Exemplificação do Gutter no VisualStudio Code

How do I disable these green bars?

1 answer

1


This is an indicator of Git status - or any supported version control software. In this place, it’s called Gutter, which is the left-hand display of the code lines.

To disable, you can use the settings "SCM: Diff Decorations":

"scm.diffDecorations": "all" | "gutter" | "overview" | "minimap" | "none"

If you want to remove any kind of indication, set as none. If you only want to remove the statement on Gutter, define how overview or minimap.

If you define how overview, the indications will appear only in a vertical bar in the editor’s direct line, next to the scroll vertical. If you set as minimap, the indications will appear only in the minimap, if the latter is authorised.

  • 1

    That’s exactly what it was. Thank you Luiz Felipe :D

Browser other questions tagged

You are not signed in. Login or sign up in order to post.