Default indent line guide in Visual Studio Code?

Is there any built in Indent Guide in Visual Studio Code?


Solution 1:

We just released this in the June 2016 release (v1.3.0). You can enable it by adding the following to your settings.json file (F1, Open Settings (JSON)):

"editor.renderIndentGuides": true

For anything more customizable indent guides you will need an extension such as Guides.

Solution 2:

As of the September 2021 (version 1.61) release, the correct setting is now:

"editor.guides.indentation": true

editor.guides.indentation setting in UI

The old setting from the other answer has been deprecated:

Indentation guides settings

The editor.renderIndentGuides and editor.highlightActiveIndentGuide settings have been deprecated in favor of editor.guides.indentation and editor.guides.highlightActiveIndentation.