blog | edwards research



« | »

Color Schemes for Eclipse CDT – Part 1

Update!
Color Schemes for Eclipse CDT – Part 4

I’ve looked all over for color schemes / color themes for Eclipse CDT and have found almost nothing. I would love an Eclipse plugin that would let me import new style sheets and export any custom color settings. Unfortunately, it doesn’t look like thats out there yet. Maybe that will be something I pick up when I’m bored — man you know you’re busy when you look forward to being bored.

Anyway — the goal of this post / series of posts is to get some kind of solution that’s manageable and relatively painless. Instead of going the full plugin route (yet), I’m going to whip up some shell scripts that will hopefully make my life easier.

I should point out that color schemes are available for Eclipse Languages (eg Java and PHP) but not CDT (schemes are language-specific because of the syntax intricacies).

So lets look at a color scheme file — one site says that they are located:

[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

… so lets check it out.

org.eclipse.jdt.ui.prefs

#Sat Jun 6 19:04:05 EDT 2009
useQuickDiffPrefPage=true
proposalOrderMigrated=true
tabWidthPropagated=true
content_assist_proposals_background=255,255,255
org.eclipse.jdt.ui.javadoclocations.migrated=true
useAnnotationsPrefPage=true
org.eclipse.jface.textfont=1|Monospace|10.0|0|GTK|1|;
org.eclipse.jdt.internal.ui.navigator.layout=2
org.eclipse.jdt.ui.editor.tab.width=
org.eclipse.jdt.ui.formatterprofiles.version=11
spelling_locale_initialized=true
eclipse.preferences.version=1
content_assist_proposals_foreground=0,0,0
fontPropagated=true

org.eclipse.ui.editors.prefs
(I didn’t have this file, at least not there)

So here’s the plan, I’m going to track down where these files are (its possible they aren’t even created unless you deviate from the defaults), figure out the format, and then figure out the best way to set up theme packages.

In the meantime, I’m going to leave you with some links of popular themes I hope to get setup.

Stay tuned.

Posted by Jim on October 20, 2009.

Categories: uncategorized

One Response

  1. 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)

    by Maroloccio on Mar 11, 2010 at 9:43 pm

Leave a Reply

Powered by WP Hashcash

« | »




Recent Posts


Pages



About blog | edwards research

This work by Edwards Research Group is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License. Based on a work at www.edwards-research.com. more →