46

I have searched the whole web but cannot find where to remove these two types of vertical lines on the left side. I specifically mean the colored thick vertical line (marked with red box) and the thin grey vertical line (also marked with red box).

If someone could tell me that would be awesome! Thanks a lot.

Remove Lines in VS Code - How?

  • 7
    The thin gray lines are indent guides - see the answer below to get rid of them. The thicker colored lines are related to your source control - see https://stackoverflow.com/questions/43969277/how-can-you-disable-gutter-indicators-in-vs-code/43973209#43973209 – Mark Oct 18 '18 at 19:41

2 Answers2

85

Go to the menu Code->Preference->Settings and search for "renderIndentGuides". The complete setting should appear as:

"editor.renderIndentGuides": true,

Change it to false.

UPDATE:

Keys had changed since v1.61 - on later version set the following instead:

"editor.guides.indentation": false
yuval.bl
  • 4,890
  • 3
  • 17
  • 31
Irfanuddin
  • 2,295
  • 1
  • 15
  • 29
4

Disable this setting and you're done! setting

Felierix
  • 179
  • 3
  • 12