58
votes

I downloaded the new Eclipse Luna (ver. 4.4) and changed to Dark Theme, but the code editor is not changing. See the screen-shot:

enter image description here

I tried this on MAC, Windows and Linux, always the same result.

4
ypu have to download the theme for the code editor you want from eclipsecolorthemes.org - CodeFanatic
@greg-449 you are right its a duplicate, but its bit hard to describe the problem - kozla13
@kozla13 find it here vimeo.com/19168132 - CodeFanatic
@FelixLahmer Actually the dark theme in Eclipse Luna is supposed to work without any additional downloads. It was one of the highly advertised features. It's quite frustrating it doesn't... - informatik01

4 Answers

38
votes

Ok here's what worked for me. (on java 8 JRE on WinXP)

Preferences -> General -> Editors -> Text Editors: Background colour

deselect 'system default' and choose pure black

Now go to 'current line highlight' and make it your favourite shade of grey. RGB 60/60/60 works for me.

32
votes

You can download Eclipse Color Theme plugin as a workaround. It worked fine for me.

After installing Eclipse Color Theme you have to go to: Preferences -> Appearance -> Color Theme, then chose the whatever theme you like, from the screenshot I chose Monokai

enter image description here

9
votes

You can download a dark color scheme for eclipse color scheme That did help me when i switched to black.

0
votes

Instead if finding a working night theme I discovered a utility that puts my entire desktop into night mode NegativeScreen.

eclipse ide night mode

I use the below adjusted 'Smart Inversion Alt 2' matrix where the black is lightened a little the best for my tastes.

Smart Inversion Alt 2b (danielsokolowski)=
{  0.390, -0.620, -0.620,  0.000,  0.000 }
{ -1.210, -0.220, -1.220,  0.000,  0.000 }
{ -0.160, -0.160,  0.840,  0.000,  0.000 }
{  0.075,  0.075,  0.075,  1.000,  0.000 }
{  1,  1,  1,  0.000,  1.000 }