55

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?

1
  • 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 stackoverflow.com/questions/43969277/… Commented Oct 18, 2018 at 19:41

2 Answers 2

94

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 
Sign up to request clarification or add additional context in comments.

Comments

1

Open Settings and follow the numbers in the picture.

Pic 1

Comments