Visual Studio代码侧栏垂直准则(自定义侧栏) [英] Visual Studio code sidebar Vertical guideline (customize sidebar)

查看:172
本文介绍了Visual Studio代码侧栏垂直准则(自定义侧栏)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道Visual Studio代码的扩展名,以便在侧边栏(用于文件和文件夹)上显示垂直准则(如netbeans)吗?

Does anybody know an extension for Visual Studio code to show a vertical guideline on sidebar (for file and folders) like netbeans?

或者在vscode中有一些设置?

Or maybe have some settings in vscode?

Netbeans快照

感谢您的帮助.

推荐答案

截至 6月,您可以添加以下准则:

As of June, you can add guidelines with:

"workbench.tree.renderIndentGuides": "always", // Can also be set to "onHover"

您还可以使用以下方法更改其颜色:

You can also change their color with:

"workbench.colorCustomizations": {
    "tree.indentGuidesStroke": "#008070"
},

如果要更改缩进宽度,可以使用:

And if you want to change the indentation width, you can use:

"workbench.tree.indent": 18,

这篇关于Visual Studio代码侧栏垂直准则(自定义侧栏)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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