vscode - 更改当前文件的高亮颜色 [英] vscode - change highlight color of current file

查看:104
本文介绍了vscode - 更改当前文件的高亮颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为打开的文件的背景添加自定义样式(fetch.js 后面的浅灰色):

解决方案

我相信您正在寻找 list.inactiveSelectionBackground 主题设置.您可以使用

当资源管理器未聚焦时使用的这种颜色.当浏览器聚焦时使用 list.activeSelectionBackground

How can I add a custom style for the background of the opened file (the pale-grey behind fetch.js):

解决方案

I believe you are looking for the list.inactiveSelectionBackground theme setting. You can set this using workbench.colorCustomizations

"workbench.colorCustomizations": {
    "list.inactiveSelectionBackground": "#f0f"
}

This color used used when the explorer is not focused. Use list.activeSelectionBackground for when the explorer is focused

这篇关于vscode - 更改当前文件的高亮颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆