Eclipse Color Theming:

  • Export your preferences (from File > Export menu).

Automatically

Run this script on an exported preferences file.

epf-to-colorscheme

#!/bin/bash

file=$1
theme=${file%.epf}_colors.epf

echo "file_export_version=3.0" > $theme
egrep "SystemDefault" < $file >> $theme
egrep '[0-9]+,[0-9]+,[0-9]+' < $file >> $theme

Manual Process:

  • Delete all lines not color related. Color related lines include:

/instance/org.eclipse.jdt.ui/semanticHighlighting.staticField.enabled=false

/instance/org.eclipse.ui.editors/AbstractTextEditor.Color.Background.SystemDefault=false

/instance/org.eclipse.ui.editors/currentLineColor=45,45,68

  • add the following line anywhere in the file. file_export_version=3.0

  • Save the result as an .epf file.

Using a theme from this site

Copy and paste the main content of the page into a .epf file. Import this into Eclipse.

Example: Inkpot:

  • Visit Inkpot
  • Copy and paste the theme into inkpot.epf
  • In Eclipse, import all preferences from the file.

Adding a theme:

The password to this site is the name of the program we are adding themes to, all letters lowercase.

changed August 4, 2009 history edit