如何编辑 VS Code 设置以便突出显示修改文件的选项卡? [英] How can I edit VS Code settings so that the tabs of modified files are highlighted?

查看:42
本文介绍了如何编辑 VS Code 设置以便突出显示修改文件的选项卡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Sublime 中,这是通过更改来支持的

In Sublime, this was supported by changing

"highlight_modified_tabs": true,

在首选项下 |设置.我怎样才能在 Visual Studio Code 中得到这个?

under Preferences | Settings. How can I get this in Visual Studio Code?

推荐答案

在 v1.29 中添加了一些突出修改选项卡顶部边框的功能,突出显示修改后的标签.

Some ability to highlight the top border of a modified tab was added in v1.29, highlight modified tabs.

workbench.editor.highlightModifiedTabs: true;

不过变化不大.

在 settings.json 中使用这些 colorCustomizations:

With these colorCustomizations in settings.json:

"workbench.colorCustomizations": {
    "tab.activeModifiedBorder": "#ff0000",
    "tab.inactiveModifiedBorder": "#ff0000",
    "tab.unfocusedActiveModifiedBorder": "#ff0000",
    "tab.unfocusedInactiveModifiedBorder": "#ff0000",
}

这篇关于如何编辑 VS Code 设置以便突出显示修改文件的选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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