更好地突出当前编辑器组 [英] Highlighting better the current editor group

查看:45
本文介绍了更好地突出当前编辑器组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VSCode 是否提供了一种突出显示当前编辑器组(或标签)焦点的方法?

Does VSCode provide a way of highlighting the current editor group (or tab) in focus?

例如:

  • 用单独的颜色突出显示焦点组周围的边界框(下图)
  • 突出显示焦点组中的当前标签

推荐答案

有关修改活动选项卡的信息,请参见 https://code.visualstudio.com/api/references/theme-color#editor-groups-tabs.例如:

for modifying the active tab see https://code.visualstudio.com/api/references/theme-color#editor-groups-tabs. For example:

tab.activeBackgroundtab.activeForeground 以及更多 active/inactive 颜色设置要在该链接中进行修改.它们进入您的设置 colorCustomizations 对象,例如:

tab.activeBackground, tab.activeForeground and there a few more active/inactive color settings to modify in that link. They go in your settings colorCustomizations object like:

"workbench.colorCustomizations": {

  "tab.activeBackground": "#ff0"
}

一般来说,https://code.visualstudio.com/api/references/theme-color 是用于查找可以通过这种方式修改哪些项目的资源.

In general, https://code.visualstudio.com/api/references/theme-color is the resource for looking up what items can be modified in this way.

除了使用 editorGroup.focusedEmptyBorder 的焦点但空的 editorGroup 之外,似乎没有办法区分活动的 editorGroup 和非活动的 editorGroup.不过,您可能会发现其他一些 editorGroup 颜色很有用.

It doesn't look there is a way to differentiate an active from an inactive editorGroup except for a focused but empty editorGroup, with editorGroup.focusedEmptyBorder. You might find some other editorGroup colors useful though.

这篇关于更好地突出当前编辑器组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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