Eclipse Themes

8/8/2009

Eclipse isn't the best when it comes to customizations but with a few tricks we can alleviate some of the issues. One such issue is color themes. There is no easy way to export color settings (for creation of themes) but there are two files that hold the syntax and text editor coloring information.

Update

Eclipse Color Themes (how-to) by Roger Dudler and Felix Dahlke is a better method of importing themes into Eclipse. My method was just a temporary work around until a plug-in was written.

Note: Files from and tested with Eclipse 3.5 (Galileo) using Java

The two main areas that control the IDE's coloring:

Window | Preference | Java | Editor | Syntax Coloring
Window | Preference | General | Editors | Text Editors

These preferences are saved in:

[workspace]\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.jdt.ui.prefs
[workspace]\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.editors.prefs
Linux/Mac [workspace]/.metadata/.plugins/org.eclipse.core.runtime/.settings/

Where,

org.eclipse.jdt.ui.prefs = Syntax Coloring
org.eclipse.ui.editors.prefs = Text Editors

So from that one can make, import, and export their preferences easily without editing the files manually.

Here are some themes I've found (and created!)

Default (Originally from Eclipse)

Inkpot (Originally from here)

Vibrant Ink (Originally from here)

Wombat (Originally from here)

Sula (My theme)

Zenburn (Jani Nurminen)

Download all files here