Exporting Eclipse’s Color Schemes

  1. Export your Eclipse preferences using File > Export > General > Preferences. This will output a .epf file with a whole bunch of preferences including repository info; way more than you need.
  2. Run some simple  commands to create a preference file that contains color information only.
  3. Add “file_export_version=3.0″ as the top line of your new epf file. This allows the file to imported into Eclipse >= 3.0. Without this your preferences will not be imported.

"file_export_version=3.0" > my_color_prefs.epf
grep -i color >> my_color_prefs.epf
grep -i org.eclipse.wst >> my_color_prefs.epf
grep -i org.eclipse.php.ui >> my_color_prefs.epf

Update 27/10/2009 ( caro-20091027 )

Update 02/02/2010 ( caro-20100202 ) for PDT 2.2

Thanks to timrobles.com

1 Comments , , , ,

One Response to “Exporting Eclipse’s Color Schemes”

  1. Maroloccio 12/03/2010 at 03:41 #

    Here’s a rev 0.0.1 of an attempt at a dark background colour scheme for Eclipse: http://bit.ly/maroloccio_epf. Screenshot: http://bit.ly/maroloccio_epf_preview. Any feedback at all? (this is a big departure from what I normally use for Vim, which is: http://bit.ly/maroloccio_vim)

Leave a Reply