更改VSCODE中匹配变量的倒格颜色
VSCODE突出显示在光标下的匹配事件默认情况下 突出显示的匹配事件 - 默认值 - 默认值
我想要的是改变变量匹配的背景颜色,光标。像这样 所需的突出显示
我得到的最接近 workbench.colorcustomization {“ editor.selectionhighlightbackground”:“#ff0000”}
> 但是,如果当前变量在循环/交换机/等内部内部,则外部出现不是突出显示的,我也需要选择文本,而不仅仅是光标坐在那里。
提前致谢。
VSCode highlight matching occurrences under cursor by default
Highlighted matching occurrences - Default
What I want is to change the background color of variables matching occurrences under the cursor. Like this
Desired highlighting
The closest I got was withworkbench.colorCustomization{ "editor.selectionHighlightBackground": "#ff0000" }
however if the current variable is inside a loop/switch/etc, the outer occurrences isnt highlighte, also I need to have the text selected, not just with the cursor sitting there.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在
workbench.colorcustomization {}
set
“ editor.wordhighlighttextbackground”
带有所需颜色。当光标坐在那里时,这将改变高光颜色。您可以使用链接上列出的其他类似的WordHighlight属性播放
https://code.visalstudio.com/api/api/api/api/references/references/theme-colorence/theme-color
In
workbench.colorCustomization{}
set
"editor.wordHighlightTextBackground"
with desired color. This will change the highlight color when the cursor just sits there.You can play with other similar wordHighlight properties listed at the link
https://code.visualstudio.com/api/references/theme-color