【问题标题】:VS Code "Identifier under caret" background highlight colorVS Code“插入符号下的标识符”背景突出显示颜色
【发布时间】:2018-08-12 11:41:37
【问题描述】:

如何更改“插入符号下的标识符”背景突出显示颜色?

试过了:

"workbench.colorCustomizations": { 
    "editor.findMatchBackground": "#000000",
    "editor.wordHighlightBackground": "#000000",
    "editor.findMatchHighlightBackground": "#000000",
    "editor.wordHighlightStrongBackground": "#000000",
    "editor.hoverHighlightBackground": "#000000",
}    

没有结果。

【问题讨论】:

  • 在您的示例中选择了“年份” - 它看起来如此,因为第一年也是彩色的。尝试“editor.selectionBackground”:“#f00”,作为光标下所选项目的颜色。 “editor.findMatchBackground”:“#0000”,将在您的示例中的第一个“年”工作。
  • 马克,感谢您的回答,但它不起作用。
  • 你找到答案了吗?

标签: visual-studio-code color-scheme vs-color-theme-editor


【解决方案1】:

试试“editor.wordHighlightStrongBackground”:“#000000”

【讨论】:

  • 你能补充一些解释吗?看来(至少在我看来)OP 已经在他们的代码中 "editor.wordHighlightStrongBackground": "#000000",
猜你喜欢
  • 2020-11-05
  • 2019-08-03
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-09-29
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多