更改Vscode终端中查找文本的高亮颜色

10
2个回答

19

搞定了!

将以下代码片段添加到您的JSON设置中:

"workbench.colorCustomizations": {
    "terminal.selectionBackground": "#e26cffcb",
}

现在我的终端看起来像这样:一个易于找到的高亮选择

耶!!


11

如果你是来查找如何更改终端中的查找匹配颜色的,那么这里是新的colorCustomizations(参见v1.66版本说明:终端查找匹配颜色)。其他问题和答案均与终端选择颜色无关。

  "workbench.colorCustomizations": {

    "terminal.findMatchBackground": "#ff0000",
    "terminal.findMatchBorder": "#ff0000",
    "terminal.findMatchHighlightBackground": "#ff0000",
    "terminal.findMatchHighlightBorder": "#ff0000",
    "terminalOverviewRuler.findMatchForeground": "#ff0000"
  }

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接