How can I hide indent guides in Visual Studio Code?

Skif picture Skif · Mar 13, 2018 · Viewed 9.7k times · Source

How can I hide the following lines to get a cleaner code view?

Enter image description here

Like this in the official documentation:

Enter image description here

How can I do that or find settings in the documentation?

Answer

Phiter picture Phiter · Mar 13, 2018

Press Ctrl + Shift + p, type settings and select Preferences: Open Settings (JSON) to open User Settings, and add this:

// Controls whether the editor should render indent guides
  "editor.renderIndentGuides": false,

This will disable the indent guides.

See the documentation for User Settings.