How to change the selected text color in pydev / eclipse dark theme - eclipse

I am using Pydev / Eclipse with dark theme.
how can I change the selection color? Here's an screenshot showing a part that is selected and is highlighted with a color that is too bright and makes the foreground not readable:
I followed settings of appearance color options in General > Editors > Text Editors as well as General > Editors > Text Editors > Annotations, but I couldn't find any option for changing that bright blueish color.
Here's an image showing my current setting (as you can see, the background selection color is set as a color that is totally different from this light blue color).

You have to restart your Eclipse first to see that 'selection background color' changed for python files.

The best answer to this is found here, Which inherits from General > Editors > Text Editors. There is also General > Editors > Text Editors > Annotations, which is where I found "Breakpoints (PyDev) which had the color I was finding offensive to my eyes.
Happy Hunting!
Short answer:
Preferences > PyDev > Editor.

Related

Can't change specific color in Eclipse

It's the color that the background of a word or variable that highlights it's occurrences in the rest of the code. This is what my editor looks like. Editor
I've customized it a little bit but whenever I'm typing on something the white background is jarring and makes it hard to read. How do I change it to a darker color?
Go to Eclipse > Preferences > General > Editors > Text Editors;
And change the value on the "Selection Background color"

How to change highlight color of selection in search tab in Eclipse?

In Eclipse 4.2 on Windows 7, in the search results tab, the selected search result has an unpleasant light color that makes it hard to read the text under it:
I have not been able to locate where this color is. Any ideas?
Try changing your Themes & Appearance settings.
Go to Windows > Preferences > General > Appearance
You will get options for Color themes, and label decorations.
you can download more themes from eclipse theme plugin
Its operating system's default selection color, you cannot change that thro' eclipse. Although if you select a light color theme, you will get black or dark color text and you will be able to see the text more clearly over this light blue background. or you can manually choose dark shades of colors for text.

How (if possible) can I change the color option for the highlighted search results in eclipse (Moonrise theme)?

I've changed my Eclipse Kepler (SR2) theme to Moonrise 0.8.9
Now the color of the highlighted objects makes the results barely visible.
I haven't found any option to modify either the color of the text, or the color of the background
I've attached the Search view
To change the highlighted row search result go to:
Window > Preferences > General > Appearance > Colors and Fonts > Basic
and change the Match highlight background color.
Note: This will not change the color of the other search results that are in purple
C/C++ > Build > Makefile Editor > Matching brackets highlight

Using Dark Eclipse Color Theme and Comparison Editor

I am using eclipse color theme plugin to have a dark background. (http://www.eclipsecolorthemes.org/). The plugin works really great. One problem I have is that dark backgrounds look terrible with eclipse's comparison editor. For example, added lines have a dark blue highlight, which does not show up well at all on dark back grounds. Does anyone have a solution for this?
BullfrogBlues had the correct answer in his comment. You can change the colors for the comparison editor at Window > Preferences > General > Appearance > Colors and Fonts > Text Compare.
The outgoing change color works as an overlay:

Change overview ruler color in Eclipse

How to change overview rule background color in Eclipse 3.4.0.I20080617-2000 (vertical bar on right of editing window with some annotations) ?
General > Editors > Text Editors > Annotations allows only to change colors of marks itself not background of whole bar.
It looks like my web searching skills are getting weaker since I cannot find it anywhere ...
I also faced the problem of not being able to see the colors in the annotations ruler, so I've made a small plugin which enables setting the background color for the ruler. You can D/L it
from here: https://github.com/chookapp/AnnotationsRulerBackground
(screenshots at: https://github.com/chookapp/AnnotationsRulerBackground)
I have the same problem as Michal - this seems to be non-customisable.
I have trouble seeing some of the annotation marks in the overview ruler due to Vista's lighter colouring. You can change the colour of the marks, but the bar itself doesn't change colour.
It looks like the only way to change it is to change the system colours for all windows.
you can only change the color for the occurrence marking inside the editor (General > Editors > Text Editors > Annotations). The color in the overview ruler is computed from that color.
Add the following lines at the end of e4_classic_win7.css
#org-eclipse-e4-ui-compatibility-editor Composite > Canvas {
background-color : #232323;
}
The file is located in
Eclipse Kepler : \plugins\org.eclipse.platform_4.3.2.v20140221-1700\css\
Eclipse Mars : \plugins\org.eclipse.ui.themes_1.1.1.v20151026-1355\css\
Be sure to select windows clasic theme in Preferences->General->Appearance
And restart eclipse.
Alternatively you can edit the other corresponding css files.
Note: You have to choose you own preferred RBG color instead of #232323
My solution has been to make the text light on a dark background across all text editors. (Window -> Preferences -> General -> Editors -> Text Editors -> Background color => BLACK, and then every 'Syntax Coloring' you need)
This way the annotation colours I choose can be quite highly saturated dark colours - the text is then still legible over the annotation highlight in the text editor, but the marker in the overview ruler is also highly visible (assuming a light window colour in your OS).
The downside of this is that you have to do a lot of customising to get there. (Its worth exporting your preferences for other workspaces if you plan to go down this route.) And its more of a workaround than an answer :-(
It seams to work for me.
The only thing to do is to "restart" Eclipse after your change.
The overview ruler and the editor will display the selected color
What if you are using eclipse 4, try this.
https://github.com/jeeeyul/eclipse-themes
You can actually just disable this bar by going to Preferences > General > Editors > Text Editors. Then just uncheck the box labeled "Show range indicator". The annotations will still appear, the bar will take the color of your theme. Solution found there.
i added below and works well in eclipse luna & neon. It works
#org-eclipse-e4-ui-compatibility-editor Canvas,
#org-eclipse-e4-ui-compatibility-editor Canvas > * > * {
background-color: #b5c7ce;
}
background-color: #e0d2d2;
}