按 Ctrl + Shift + p,输入
settings
并选择 Preferences: Open Settings (JSON)
打开 用户设置,然后添加以下内容:
// Controls whether the editor should render indent guides "editor.renderIndentGuides": false,
这将禁用缩进参考线。
请参阅用户设置文档。
编辑:截至2022年5月30日,此设置称为
"editor.guides.indentation": false,
settings.json
中完全隐藏缩进引导线。按
cmd
或ctrl + shift + P 导航至您的
settings.json
,然后输入 settings.json
,然后按Enter。 然后粘贴以下代码:
"editor.guides.indentation": false,