Indent Guides are vertical lines that visually indicate indentation levels within your code. They help you see the structure and nesting of your code blocks, making it easier to understand the hierarchy and scope, especially in languages with many nested structures.
Another common term for Indent Guides is Indentation Rulers or Indentation Markers. These terms similarly refer to the vertical lines used to indicate code structure through indentation levels. Some developers might also refer to them as Indent Lines or Guideline Markers in certain coding environments or documentation.
Enabling or disabling indent guides
You can toggle indent guides by adjusting the Editor: Render Indent Guides setting in the Settings UI or by editing the settings.json
file directly.
"editor.renderIndentGuides": false
Toggle the settings
- Open Settings
- Search for “Editor: Render Indent Guides”
- Uncheck this option to disable the vertical lines