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.
Related
Does anyone know whether it's possible to customize the background of a text after it has been suggested by IntelliSense? I'm using the Everblush theme.
As you can see in the GIF, after selecting the suggested "activityBar.activeBackground" option in the settings.json, I get this annoying white background between the two quotes. This also happens with brackets and with other programming languages (Rust for example).
Do you have any idea on how to change this?
Keep in mind that this happens only after I press the ENTER key on option given by IntelliSense. It has nothing to do with normal text highlighting.
Following rioV8 suggestion, I found out that the option for this particular case is editor.snippetTabstopHighlightBackground.
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
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.
When I move over a class name all the other places that that class name shows up are highlighted. When I hover over a variable it does the same thing with different places that I have used that variable. I cannot find where to change that setting in Netbeans.
I changed everything else, but even when I looked under every option in the highlighting section there were none with the same shade of yellow that is seen here:
There was also nothing in the Syntax or Annotations section that had that shade of yellow. Is this even a setting that I have control of?
I have Netbeans 7.2.1 if anyone needs to know.
It is Language-specific.
You have to go to Syntax > Change a Language and modify the "Mark Ocurrency" color.
Know more:
How to change the highlight variable color in NetBeans IDE ?
I found this theme generator - helped me with my own color theme.
Below link to the online netbeans color theme generator
Net Beans theme builder
allow to point - click select code type and assign new colors
allow to export colors for netbeans (as .zip) aslo for eclipse color theme (.xml)
Tested on NetBeans 7.4
My answer is too late but it might be useful for someone else ,,
In Neatbeans Tools >> Options >> Fonts & Colors >> Language (Java) >> Mark occurrences .
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.