Raging Goblin

19 July 2012

Eclipse 4 (Juno) change tab color

Filed under: Java — Raging Goblin @ 19:47
Tags:

I always change the color of my tabs according to the svn branch I am currently working on to prevent errors with multiple instances of Eclipse opened. With the new Eclipse however, I was not able to change the color. It appears that somehow Eclipse is listening to the winxp stylesheet. Therefore manually changing the stylesheet for winxp did the trick.

I am using the classic style. so in ECLIPSE_HOME/plugins/org.eclipse.platform_4.2.0.v201206081400/css/e4_classic_winxp.css I changed the value of the swt-selected-tabs-background:

.MPartStack.active {
  swt-selected-tabs-background: #FFFFFF #67000C 100%;
}
Advertisements

Blog at WordPress.com.