Tutorial :Dark color scheme for Eclipse [closed]



Question:

Is Eclipse at all theme-able? I would like to install a dark color scheme for it, since I much prefer white text on dark background than the other way around.


Solution:1

As posted to a few related questions already, I'm working on a plugin for easy, cross-editor color theme management:

http://marketplace.eclipse.org/content/eclipse-color-theme

It is still work in progress, but already supports many editors and a few dark color themes.


Solution:2

I've created my own dark color scheme (based on Oblivion from gedit), which I think is very nice to work with.

Preview & details at: http://www.rogerdudler.com/?p=362

We're happy to announce the beta of eclipsecolorthemes.org, a new website to download, create and maintain Eclipse color themes / schemes. The theme editor allows you to copy an existing theme and edit the colors with a live preview of your changes on specific editors. The downloadable themes support a lot of editors (PHP, Java, SQL, Ant, text, HTML, CSS, and more to follow)

There's a growing list of themes already available on the site:

Screenshot of eclipsecolorthemes.org

You can read more about the launch here.


Solution:3

Here's a guy that posted his Eclipse preferences for changing the colors like a theme:

http://blog.codefront.net/2006/09/28/vibrant-ink-textmate-theme-for-eclipse/

screenshot

And here's more about how to set the colors in the Ganymede Eclipse version (v. 3.4, mid 2008):

http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.user/concepts/accessibility/fontsandcolors.htm


Solution:4

For Linux users, assuming you run a compositing window manager (Compiz), you can just turn the window negative. I use Eclipse like this all the time, the normal (whitie) looks is blowing my eyes off.


Solution:5

These are the pleasing colors for my eyes during coding. Jazz music not included in theme.

Screenshot of LukinaJama3

Eclipse Color Themes Plugin file: LukinaJama3.xml on depositfiles


Solution:6

This is the best place for Eclipse color themes:

http://www.eclipsecolorthemes.org/


Solution:7

I have to say, this is one area where Eclipse is really weak. Specifically, the import/export of preferences applies to ALL preferences. There is no way to import say just the fonts/color preferences (like you can with Visual Studio) without mucking up my key binding preferences.

Also, I have tried several of these preference files referenced above, and they completely break my Eclipse install.


Solution:8

I've created several color themes, and a script to extract a new one from someone's color preferences. I'm currently using one I still have yet to post on the site, but I should eventually get to it.

http://eclipsecolorthemes.jottit.com


Solution:9

Easiest way: change the Windows Display Properties main window background color. I went to Appearance tab, changed to Silver scheme, clicked Advanced, clicked on "Active Window" and changed Color 1 to a light gray. All Eclipse views softened.

Since Luna (4.4) there seems to be a full Dark them in

Window -> Preferences -> General -> Appearance -> Theme -> Dark

enter image description here


Solution:10

For the quick hack, on Linux running GNOME with a Windows keyboard, Windows-Key-M will inverse-color all windows, and Windows-Key-N will inverse color a single window. It's an awesome feature, in my book.


Solution:11

As I replied to "Is there a simple, consistent way to change the color scheme of Eclipse editors?":

I've been looking for this too and after a bit of research found a workable solution. This is based on the FDT editor for Eclipse, but I'm sure you could apply the same logic to other editors.

My blog post: Howto create a color-scheme for FDT

Hope this helps!


Solution:12

The best solution I've found is to leave Eclipse in normal bright mode, and use an OS level screen inverter.

On OS X you can do Command + Option + Ctrl + 8, inverts the whole screen.

On Linux with Compiz, it's even better, you can do Windows + N to darken windows selectively (or Windows + M to do the whole screen).

On Windows, the only decent solution I've found is powerstrip, but it's only free for one year... then it's like $30 or something...

Then you can invert the screen, adjust the syntax-level colours to your liking, and you're off to the races, with cool shades on.


Solution:13

If you use Aptana then you can download a dark color theme! I have been looking for one recently and found the Aptana one. Thought others might be interested!

Check out: http://www.nightlion.net/themes/2009/aptana-dark-color-theme/


Solution:14

Checkout this color scheme I created for Eclipse PDT. It is based on the Vim Zenburn color scheme developed by slinky


Solution:15

Here's a rev 0.0.1 of an attempt at a dark background colour scheme for Eclipse (and a screenshot). Any feedback at all? (this is a big departure from what I normally use for Vim.


Solution:16

Some people posted options for Linux and Mac, and the Windows (free) equivalent is, if you can deal with it globally:

Set Windows desktop appearance theme window background color. You can keep current/desired theme, just modify the background color of windows. By default, it is set to white. I change it to a shade of grey. I tried dark grey and black before, but then you have to change text font colors globally, and all that's painful.

But a simple shade of grey as background does the trick globally, works with any color text font as long as the shade of grey is not too dark.

It's not the best solution for all editors/IDEs, as I prefer black, but it's the next best free & global workaround on Windows.


Solution:17

I have finally found exactly what I have been looking for, i.e. a dark theme for PyDev (although I still feel like Eclipse is missing out on this).


Solution:18

This is another dark Eclipse theme: http://blog.prabir.me/post/Dark-Eclipse-Theme.aspx.

I have the Visual Studio equivalent of the theme.


Solution:19

I played with customizing the colors. I went with the yellow text/blue background I've liked from Turbo Pascal. The problem I ran into was it let you set the colors of the editors but then the other views like Package Explorer or Navigator stayed with the default black-on-white colors. I'm sure you could do it programatically but there are waaaay to many settings for my patience.


Solution:20

In response to this comment I made a filter for Color Filter plugin for Compiz.

Here's what I got:

Howto:

  1. Go to /usr/share/compiz/filters/
  2. Create new file "negative-low-contrast" (as root)
  3. Insert the attached code into it.
  4. Go to System->Preferences->CompizConfig ...
  5. Enter Color Filter Plugin
  6. Enable it and add newly created filter to the list Profeet!!

Filter code:

!!ARBfp1.0  TEMP temp, neg;    # Dunno what's this... but every other filter starts with this :) ;  TEX temp, fragment.texcoord[0], texture[0], RECT;    # Applying negative filter ;  RCP neg.a, temp.a;  MAD temp.rgb, -neg.a, temp, 1.0;  MUL temp.rgb, temp.a, temp;  MUL temp, fragment.color, temp;    # Lowering contrast and shifting brightness ;  MUL temp.rgb, temp, 0.8;  ADD temp.rgb, temp, 0.25;    MOV result.color, temp;  END  

You also can play with the filter. May be you will get something more facinating :) Feel free to share!


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »