如何更改垂直引导线的颜色?

How can I change the color of the vertical guide line?

我在VS code中使用的是Palenight Theme,我想修改一下。根据缩进,屏幕上出现一条垂直引导线,我希望我 selected 的缩进的垂直引导线变为红色。只有当我select时才缩进。我需要更改 palenight.json 文件,所以请告诉我要修改的部分。

您应该转到 settings.json 并粘贴:

"editorIndentGuide.activeBackground": "#ff0000",

别忘了贴在里面

   "workbench.colorCustomizations": {
        "editorIndentGuide.activeBackground": "#ff0000",
        // "editorIndentGuide.background": "#ff00ff"
    },