Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Luna dark theme doesn't show JS properly

I downloaded the Eclipse Luna version of PDT today and switched to the dark theme. All my PHP files are now displayed with very clear syntax highlighting in the dark theme.

However, when I load my javascript files, it's impossible to see the text in the file as it's dark black on lighter black (see image). This happens only for the JS files as all of the CSS and HTML files in the project inherit the dark theme very nicely.

Dark theme with JS

I've restarted Eclipse applying the theme and the issue still remains. Any idea how I can get my JS file to work with this new version?

like image 578
JohnP Avatar asked Jun 27 '14 12:06

JohnP


People also ask

Can I change the theme of Eclipse to dark?

To change the color theme in your editor: Go to Window | Preferences | General | Appearance | Color Theme. The list of available Eclipse color themes is displayed.


2 Answers

I suggest install eclipse color themes plugin: http://eclipsecolorthemes.org/

This plugin provide dark editor support for most popular eclipse plugins (css, js, xml)

like image 158
zulus Avatar answered Sep 21 '22 01:09

zulus


Take a look at:

https://github.com/guari/eclipse-ui-theme#syntax-highlighting-scheme-optional

and import the epf file.
This should solve your issue and similar ones, until a stylesheet for dark theme settings for syntax will be added to all Eclipse plugins packages.

like image 27
guari Avatar answered Sep 22 '22 01:09

guari