2017-09-08 79 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; 
}