vscode终端更改find​​高亮颜色

maj*_*mer 12 visual-studio-code

我想知道是否有人知道如何让 vscode 集成终端查找突出显示以在页面上弹出更多内容。

这是我目前的样子:

很难看到亮点

很难辨认出黑色高光颜色上的灰色。

这个答案解释了如何更改不在集成终端 VSCode 中的文本突出显示颜色 - “查找”框中的文本突出显示

这个答案解释了如何更改终端的所有颜色: Color theme for VS Codeintegratedterminal

maj*_*mer 19

弄清楚了!

将此片段添加到您的 JSON 设置中:

"workbench.colorCustomizations": {
    "terminal.selectionBackground": "#e26cffcb",
}
Run Code Online (Sandbox Code Playgroud)

现在我的终端看起来像: 易于找到的亮点选择

雅虎!!


Mar*_*ark 14

对于那些来到这里寻找如何更改终端中的查找匹配colorCustomizations颜色的人(问题和其他答案与终端选择颜色有关),这里是新的(请参阅 v1.66 re;ease Notes:终端查找匹配颜色

  "workbench.colorCustomizations": {

    "terminal.findMatchBackground": "#ff0000",
    "terminal.findMatchBorder": "#ff0000",
    "terminal.findMatchHighlightBackground": "#ff0000",
    "terminal.findMatchHighlightBorder": "#ff0000",
    "terminalOverviewRuler.findMatchForeground": "#ff0000"
  }
Run Code Online (Sandbox Code Playgroud)