我的所有代码上都有这些奇怪的行,似乎突出了代码块。我如何关闭它们?我在 1.30 版本
链接:https://ibb.co/z5Tt6t4
所以左边的白线。它们叫什么,我该如何关闭它们?
最佳答案
您可以通过将这些设置添加到 vscode 的 settings.json
来隐藏缩进指南。文件:
"editor.guides.indentation": false,
"editor.guides.highlightActiveIndentation":false,
"editor.guides.indentation": false,
将关闭所有编辑器指南,包括或不考虑 "editor.guides.highlightActiveIndentation"
环境。Prior to 1.61.0 ,这些设置有不同的键:
"editor.renderIndentGuides": false,
"editor.highlightActiveIndentGuide": false,
您还可以更改它们的颜色(包括透明的#0000):"workbench.colorCustomizations": {
"editorIndentGuide.background": "#ff0000",
"editorIndentGuide.activeBackground": "#ff0000",
}
关于visual-studio-code - 在 vs 代码编辑器中隐藏代码块行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54487764/