2017-09-08 25 views
2

当关注/活动时,是否有方法可以更改集成终端(windows cmd)的颜色?如何在关注时更改终端的颜色

我用ctrl + L的终端和工作空间,但之间的改变有时我必须告诉激活哪个区域

{ 
    "key": "ctrl+l", 
    "command": "workbench.action.terminal.focus", 
    "when": "!terminalFocus" 
}, 
{ 
    "key": "ctrl+l", 
    "command": "workbench.action.focusActiveEditorGroup", 
    "when": "terminalFocus" 
} 

回答

3

希望有比这更好的东西,但你可以尝试设置你的终端光标问题到一个明显的颜色,如红色:

"workbench.colorCustomizations": { 

    //"terminal.background": "#567", 
    //"terminal.foreground": "#fff", 
    "terminalCursor.foreground": "#f00" 
} 

然后当终端获得或失去焦点时,你会看到终端光标显着变化。

+0

非常感谢你,它帮助了很多! – viralrf

1

分机Custom CSS and JS Loader

.terminal { 
    border-left: 5px solid #41A6D9; 
    opacity: 1; 
} 
.terminal:not(.focus) { 
    border-color: transparent; 
    opacity: 0.5; 
}