当我使用 CtrlShift. 快捷方式打开面包屑视图并在文件内的各种方法之间移动时,每个方法都会突出显示。我想知道如何更改此突出显示颜色(在下图中,第 60 行至 50 行之间的
replyConsumer
方法周围的矩形透明颜色)。
我知道这不是这两个选项中的任何一个:
editor.selectionBackground
或editor.selectionHighlightBackground
我终于找到了。我必须修改
editor.rangeHighlightBackground
才能更改突出显示的代码部分。请注意,应将其设置为透明颜色(例如 "editor.rangeHighlightBackground":"#384d5d46"
),这样就不会阻塞代码。顺便说一句,这是可以在 VS Code 中自定义的主题颜色选项的完整列表:
code.visualstudio.com/api/references/theme-color#editor-colors