Change eclipse quotes text color - eclipse

i have dark theme installed (DevStyle Theme) on Eclipse, and the text in the quotes is pretty hard to read, I Cannot find how to Change it, i tried changing some of the colors in preferences but it doesn't seem to work, how can i change this, thank you.
EDIT: I found the correct setting, the onclick is actually javascript, the setting is under Javascript->Editor->Syntax Coloring -> Element -> Strings

Related

How to disable syntax coloring in Visual Studio Code

I would like to disable syntax coloring altogether.
I have tried to disable parameter hints but that didn't have any effect.
Is it possible to have the editor with just a foreground/background color and nothing else?
You can add
"files.associations": {
"*.*": "plaintext",
},
to settings.json
Search the extensions marketplace for "plain theme". There are a couple which might to the trick for you: Plain Theme, Plain Light Theme and Nando Theme.
I use the Gray Matter Light theme for everything at the moment.
You could change the text language to plain text. You'll have to reset the language to plain text for each document you open but it does the trick.
A late answer.
You can write code to mess with VSCode user settings JSON (it is just a JSON), so you can customize the syntax color as you wish.
The following gist loads scopes from Python magic repo, then modifies user_settings.json in place, assigning a light gray color for Python elements:
https://gist.github.com/shuoli84/93fead0a634d711dc25494acd127c180

Change syntax highlighting in NetBeans

I am using sublime color scheme for NetBeans and I really like colors, but there is one thing I don't like and I can't find where to change it. Been through all options in Tools->Options->Font and Colors, and still can't find it.
Here's screenshot:
I want to change that highlight color to something else, since I can't see clear as it is.
Theme is from here: http://plugins.netbeans.org/plgin/51424/sublime-theme
Edit: It highlight class/id name when I click it.
Found solution after few hours of testing...
That's set under Tools -> Options -> Fonts & Colors -> Then switch Language to Cascading Style Sheet.
Under Mark Occurrences is that highlight of Class/ID name i HTML ( doesn't matter if it's PHP or HTML file )
Hope this helps someone, cheers!
My only problem with that approach was that quoted text in PHP was still invisible when highlighted.
This is what worked for me:
Tools -> Options -> Fonts & Colors -> Higlighting
Then change to fixed (not inherited) foreground and background colors for highlighted text.

Changing the Content Aware color for Eclipse Dark Theme

So I downloaded the Eclipse Dark Theme and got the syntax highlighting worked out, but I am having issues when using content assist feature. The blue text on the dark background makes the text very hard to change, and I have tried digging around looking for settings to change this but I could not find any. Can someone give me some advice here?

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?
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.

The selected entry in Eclipse content assist is unreadable because of colours

In my Eclipse installation, the selected entry in the content assist menu is almost unreadable because the colour is white on white-greyish. See image below.
I can change the background and text colour of the non-selected entries in the list from eclipse preferences, but the selected entry is always the same colour and is always unreadable. I use the Eclipse Color Theme RecognEyes, but that should only affect the editor as far as I understand.
How do I make the text of the selected entry in the context assist menu readable?
Update
After reading m1shk4's answer it does indeed seem that Eclipse takes it's colours from the current gnome theme. However it does this in a kind of weird way.
The background colour of the content assist "window" is the input boxes background colour, and the text colour is the input boxes text colour. This all seems logical.
However the background colour of the selected entry is the windows background colour, but the text of the selected entry is not the background text colour.
See image below for an illustration.
Does anybody know how to fix or workaround this issue?
Working workaround
It seems this issue is rather specific with the default gnome theme in Ubuntu. Switching to another gnome theme solves the issue for me.
Not sure if it's still in time but this might help all of you who are having the same problem, as I had:
Create a file ~/.gtkrc-2.0 and add this content to the file:
style "eclipse_fix"
{
base[ACTIVE] = shade(0.7, "#4283d3")
}
class "GtkTreeView" style "eclipse_fix"
Then just set Unity a new theme (in Configuration > appearance) and set again to the previous theme (Ambiance for instance). That will read the new file created above and the new color will take effect in eclipse.
I'm on Eclipse Neon and using Eclipse Color Themes.
I've solved this issue by:
Window-> Preferences-> General-> Appearance:
->Uncheck "Use mixed fonts and colors for labels."
Windows > Preference > General > Appearance > Color and Fonts
Basic > Content Assist background color, Content Assist foreground color:
and voilĂ !
Update
Interface is in Russian, but I think it's clear that colors, you're looking for, correspond to Selected Items entry. On my screenshot its light-blue for background and black for foreground.
If you are on Ubuntu / Unity, go ahead and install and start gnome-color-chooser.
Global Colors -> Default Configuration, Entry Fields -> selected and change fg and bg colors according to your needs.
I have the same issue on Windows 7. I found that text color(unselected text) of the content assist box can be changed under:
Desktop->Personalize->Window Color->Advanced Appearance Settings->Item->MessageBox
The only problem is one cannot set the background color for the MessageBox. -> any help from someone else?
At least this way you can read something...
NOTE: Be warned that a lot of other applications may depend on the messageBox color!
I was able to fix this in Ubuntu 12.04 by editing a file in the theme (I use Radiance):
sudo vi /usr/share/themes/Radiance/gtk-2.0/gtkrc
At the top is a key "gtk-color-scheme" with a bunch of color variables that are used later in the file. I make these changes: tooltip_fg_color:#000000 selected_fg_color:#000000 tooltip_bg_color:#f5f5b5
After making the changes, change your theme to something else then back, and most everything looks better! I did have to restart eclipse to get the fonts in the borders of the window to update.
Note that unfortunately these changes get overwritten sometimes during updates. There may be a way to use ~/.gtkrc-2.0 to do the same thing, I just don't know anything about that file.