How to change the active tab header's color in

2019-02-02 21:59发布

I'm using a dark theme in IntelliJ 14, the problem is that I have difficulties in distinguish the active tab, because its header's background is not different than the other tabs I have opened (or it is, but very little). I looked all over the place for a method to change the color of the active tab header's background, no luck so far. Please help?

4条回答
Lonely孤独者°
2楼-- · 2019-02-02 22:47
  • Please note that this setting has worked for IntelliJ 14 back then, but is no longer applicable for newer versions
  • Find the comments below for plugins as a great alternative (Material Theme UI, Active IntelliJ Tab Highlighter)

Although, if you are still using IntelliJ 14:

Under File \ Settings \ Appearance & Behavior \ File Colors,

turn off "Use in Editor Tabs", as test tabs background are dark-green by default, which is similar to the dark-grey non-selected tabs.

After that, optionally you can set the colors under:

File \ Settings \ Editor \ Colors & Fonts \ File Status

and change the Foreground color of "Modified" status.

Now it will highlight the modified files (in version control).

查看更多
太酷不给撩
3楼-- · 2019-02-02 22:48

The Material Theme UI allows additional settings

enter image description here

like color and thickness of the line below the active tab (pink in the screenshot)

enter image description here

查看更多
贪生不怕死
4楼-- · 2019-02-02 22:48

I solved this problem by using File Colors. The image below shows what you need to do. Set scope to All and choose the Custom colour (white):

enter image description here

查看更多
一纸荒年 Trace。
5楼-- · 2019-02-02 22:52

To me, the solution turned out to be a plugin implementation:

https://github.com/tobszarny/ActiveTabHighlighterPlugin

Feel free to fork it for alteration, or use as is. Now with color customization and with IntelliJ platform IDE's support, such as PhpStorm or RubyMine.

Now also in the plugins repository, for auto update whenever new version is made.

查看更多
登录 后发表回答