如何在 Visual Studio Code 中隐藏缩进指南? [英] How can I hide indent guides in Visual Studio Code?

查看:20
本文介绍了如何在 Visual Studio Code 中隐藏缩进指南?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何隐藏以下几行以获得更清晰的代码视图?

官方文档中是这样的:

我怎样才能做到这一点或在文档中找到设置?

解决方案

Ctrl + Shift + p,输入 settings 并选择 Preferences: Open Settings (JSON) 以打开 User Settings,并添加:

<块引用>

//控制编辑器是否应呈现缩进指南editor.renderIndentGuides":假,

这将禁用缩进指南.

请参阅用户设置文档.

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

Like this in the official documentation:

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

解决方案

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.

这篇关于如何在 Visual Studio Code 中隐藏缩进指南?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆