Eclipse Color Theme
Color themes for Eclipse.
Eclipse Color Theme makes it possible to import and switch color themes conveniently and without side effects.
You can install the plugin from the update site. After installing, go to Window->Preferences->General->Appearance->Color Theme to change the color theme.
Please note:
- When updating the plugin via Eclipse, go to the preferences page and press OK once, otherwise you won't see any changes. We're planning to fix this.
- When updating from an earlier version than 0.6, please uninstall the plugin and the update site, add the site listed above and install it again from there. Otherwise you won't see any updates.
Rationale
While Eclipse allows you to change the syntax coloring in great detail, there is no support for managing multiple color themes. It is possible to achieve that by importing and exporting preferences files, but this is inconvenient and likely to mess up your preferences. Furthermore, color themes have to be created for every single editor, a theme for the Java editor does not change the XML, JavaScript or any other editors. This plugin solves these issues by mapping a generic color theme format to specific preferences entries for each supported editor.
Editors and themes
Eclipse Color Theme currently supports the following editors:
- Text
- Java
- Java properties
- XML
- HTML
- CSS
- JavaScript
- C++
- PHP
- Ant
- SQL
- Python
- JSP
- Perl
- Groovy
- FDT
- ActionScript/MXML (Adobe Flash Builder)
- Ruby
- Scala
- FreeMarker (JBoss Tools)
- PDE
- ColdFusion (CFEclipse)
- TCL
- BibTex/LaTeX (TeXlipse)
- R (StatET)
- Erlang (ErlIDE)
- haXe (eclihx)
- Clojure (Counterclockwise)
- Go (GoClipse)
- Twig
- Json (Json Eclipse Plugin)
- Yaml (Yedit)
- Xtend
Available themes:
- Oblivion
- Obsidian
- Zenburn
- RecognEyes
- Inkpot
- Vibrant Ink
- Tango
- Havenjark
- frontenddev
- NightLion Aptana Theme
- Schuss
- Notepadd++ Like
- Sublime Text 2
- Wombat
- Pastel
- minimal
- Gedit Original Oblivion
- Black Pastel
- Mr
- Monokai
- Roboticket
- Sunburst
- Retta
You can download additional themes or create your own on eclipsecolorthemes.org.
Adding a theme
To create a new theme, go to eclipsecolorthemes.org, create it, download it in *.xml format and import it from the Color Theme preference page.
Adding a mapping
If you would like to add an editor mapping, proceed as follows:
-
Go to the syntax coloring preferences page of the editor, e.g. C/C++->Editor->Syntax Coloring.
-
Look at the colour theme keys of one theme (See
ColorThemeKeys
for all available keys) and set up the syntax colouring using the colours defined there. -
Open the editor's preferences file, e.g. workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs and create a new XML file named after the plugin ID in the mapper directory which maps the colour theme's keys to those of the editor.
-
Open plugin.xml and add the new mapping file to the extension point com.github.eclipsecolortheme.theme.
License
Copyright (C) 2011 Felix H. Dahlke and Roger Dudler
This is open source software, licensed under the Eclipse Public License. See the file COPYING for details.