聚焦时如何更改终端的颜色

vir*_*lrf 3 visual-studio-code

有焦点/活动时,是否可以更改集成终端(Windows cmd)的颜色?

我使用ctrl + l在终端和工作空间之间进行切换,但有时我在分辨活动区域时遇到问题

{
    "key": "ctrl+l", 
    "command": "workbench.action.terminal.focus",
    "when": "!terminalFocus" 
},
{
    "key": "ctrl+l", 
    "command": "workbench.action.focusActiveEditorGroup",
    "when": "terminalFocus" 
}
Run Code Online (Sandbox Code Playgroud)

Mar*_*ark 7

希望有比这更好的东西,但是您可以尝试将终端光标设置为明显的颜色,例如红色:

"workbench.colorCustomizations": {

    //"terminal.background": "#567",
    //"terminal.foreground": "#fff",
    "terminalCursor.foreground": "#f00"
}
Run Code Online (Sandbox Code Playgroud)

然后,当终端获得或失去焦点时,您将看到终端光标发生显着变化。