Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Color Theme - Hard to read javascript in jsp editor

I've been using the Eclipse color theme plugin, and it's been great so far - However there's one problem/setting I can't seem to figure out how to change - it's occurring when I try to edit javascript in a jsp page - when I choose a dark color theme (Monokai in this case), Eclipse highlights the code with a javascript tag with a light highlight (see attached pic).

Does anyone know if there's a setting I can change in eclipse to change or remove this, or if it's even possible to change?

A hard to read highlight

like image 969
jtyler Avatar asked Mar 28 '26 05:03

jtyler


1 Answers

I ran into this problem as well.

Short Answer: Window -> Preferences-> MyEclipse -> Files and Editors -> Javascript -> Editor -> Syntax Coloring -> Background

More Answer: You have to poke around for a while, but it seems like everything is somewhere in the Window -> Preferences path, and not necessarily where other related things are.

There's one section for html, one for jsps, and another for all the javascript inside of both of those, for example. One for global defaults (which others inherit... sometimes), etc. The key phrase to look for is "Editor"- then you know you're probably going to be able to configure the color of something.

like image 151
CircleOfButs Avatar answered Mar 30 '26 02:03

CircleOfButs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!