82

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?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
la76
  • 871
  • 1
  • 6
  • 8
  • There is no way to choose the color simply because the highlight is not replacing the color, only a change in the brightness. You can use TomaszO answer below, to add this option – omer727 Mar 23 '17 at 11:54
  • The recent versions of IJ IDEA (2020+) support this customization. Look for zaf187 answer below. – sebnukem Jul 12 '21 at 16:56

7 Answers7

84
  • 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).

XSYS
  • 967
  • 6
  • 9
34

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.

Tomasz O.
  • 534
  • 7
  • 13
  • 1
    @jpganz18 just download the latest release jar from https://github.com/tobszarny/ActiveTabHighlighterPlugin/releases. In Intellij install as plugin from disk. You can also build it yourself after importing the checked out project source code as IntelliJ plugin. – Tomasz O. Feb 08 '17 at 20:35
  • 1
    @chiliNUT now PhpStorm, RubyMine and other IntelliJ platform based IDEs should benefit from the plugin as well – Tomasz O. Mar 08 '17 at 21:35
  • this can be handy but if you're using Darcula check the XSYS answer first, for me it was enough – kiedysktos Apr 11 '17 at 11:05
  • @kiedysktos I'm also doing quite a lot of code analysis and that means no changes made. That undermines the entire concept of highlighting active tab when nothing is changed. It's a good alternative when not really looking for active but changed tab highlight. – Tomasz O. Apr 12 '17 at 23:15
  • Thank you for this plugin! Works great in Android Studio 2.3.3 (June 2017). – Dalbergia Jul 18 '17 at 16:34
  • This continues to be an excellent solution for me, and the option to change the color is a welcome improvement, thanks again! – chiliNUT Oct 12 '17 at 15:45
  • @chiliNUT glad to hear :) – Tomasz O. Oct 13 '17 at 13:03
  • Thanks for building this plugin! I'm glad to have found it. – Matt Ball Dec 26 '18 at 18:57
25

If you are using the latest intellij you can make this customisation through the menu, see the screenshot for the breadcrumb. This is from version: 2020.1.1 Ultimate Edition IntelliJ Settings Panel 2

Kimball Robinson
  • 3,287
  • 9
  • 47
  • 59
zaf187
  • 505
  • 4
  • 9
15

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

Günter Zöchbauer
  • 623,577
  • 216
  • 2,003
  • 1,567
  • 2
    Thanks for suggesting a great tool! It does more than changing active tab color. – Harish Aug 10 '18 at 22:07
  • 2
    Note: while this is an interesting suggestion, the Material Theme UI makes some non-revertable changes to your IDE settings when used. You might want to read through this thread before installing it: https://stackoverflow.com/questions/46371934/how-to-remove-material-theme-or-reset-to-defaults-from-intellij-pycharm (My recommendation: backup your settings before installing. I really wish I had done so myself. :/ ) – Per Lundberg Feb 22 '19 at 11:37
4

Whilst this solution does not change the colour between tabs, it does change all tab colours so that you can distinguish it from the background tab bar, which in my case was enough. It may still help others.

I used File Colors. The image below shows what I did. Set scope to All and choose the Custom colour (white):

enter image description here

0

I am using Darcula theme with a background image (simple plain black image). I tried the excellent plugin suggested by Tomasz O. https://stackoverflow.com/users/2479048/tomasz-o, but it did not work. Later on, I realized that when I decreased the opacity of background image, I was actually able to distinguish the color change made by the plugin. I wonder why Android Studio does not provide a convenient setting for changing active tab header color. I'm on AS 3.4.2 already!

Abdul Mateen
  • 1,418
  • 1
  • 14
  • 32
-1

Intellij 2019.1 has options for customization. Besides, it has new themes for different shades of color you can choose from.

  • 2
    This is not an answer. Please see [How do I write a good answer?](https://stackoverflow.com/help/how-to-answer) – coderpc Mar 21 '19 at 22:33