Eclipse CDT 10 - Refactor preview - Change background color of FILE selection (checkboxes) - eclipse

I'm trying to adjust the colors set by a theme for Eclipse CDT (my installation is Eclipse CDT 10.7 for Windows).
I set almost everything, but the background color of the file selection in refactor preview (or search & replace preview) is still wrong and I'm not able to figure the corresponding option (or an entry for a preference file) that set it.
I already searched on SO and with google. I found solutions for other cases but not for the my one.
Does anyone have any suggestions for this case? (see the picture)

Related

Eclipse (4.14.0), changing the editor background colour

I had set the theme to Dark, and changed the editor background/foreground colours, but it did not work (only changed the line number background). So, I searched the web and found the existing question. But the answer was saying the same thing that I already had done.
Is the method changed? Why can't I set the editor background to complete black and the text to complete white?
This worked for me:
1. Launch Eclipse
2. Click on Help
3. Select Eclipse Marketplace
4. Open Popular tab
5. Select and install "Darkest Dark Theme with DevStyle CI 2019.9.16"
6. Wait for it to finish installation
7. Restart Eclipse
At this stage, eclipse should restart with options to tweak background colour to your desired theme
There seems to be a recent Eclipse bug.
There is a possibly duplicate question here which has at least one additional suggested workaround besides the other answer to this question.
For anyone still looking for this known bug in eclipse -> install the plugin that James Kufre mentioned, right know there is another version called:
Darkest Dark Theme with DevStyle 2022.6.13a.
This plugin fixes the bug. You can then basically choose the complete color scheme of eclipse. So not only the editor field, but also the menus and everything!

Netbeans 8.2 wont apply themes

For some reason, Netbeans IDE 8.2 won't apply any different themes than the original one. Has anyone else had an issue with this? I have applied the new theme and restarted the application many times without success. Thank you.
It's very hard to identify what is wrong since everything in your screenshot looks perfect, and Sublime-Theme works for me using NetBeans 8.2 on Windows 10. See the file with the tab NewServlet.java in the screen shot below.
Note that using Sublime-Theme does not impact everything. For example, the Projects and Navigator panels don't change. Since your screen shot only showed the Options window, and the Start Page doesn't change in the editor either, are you absolutely certain that none of your files in the editor are using Sublime-Theme?
Also, you say that "Netbeans IDE 8.2 won't apply any different themes than the original one", but NetBeans comes bundled with several themes, such as NetBeans and NetBeans 5.5 as shown in the screen shot below. How many options are shown in the profile drop list for you? If you select a different theme from the Profile list and click Apply the rendering of your files in the editor should change immediately. Is that happening?
If so, the problem is probably confined to the installation of Sublime-Theme. Try deleting Sublime-Theme (the button is in the top right corner of your screen shot), and then import the zip file again to see if that fixes the problem. Also, verify that the Sublime-Theme zip file you downloaded can be manually unzipped since it might be a corrupt file.
Another thing to try is using some alternative plugins. Select Tools -> Plugins -> Available Plugins and then install Dark Look and Feel Themes and Darcula LAF for NetBeans. If those don't work either then there is something fundamentally wrong with the installation of NetBeans.
Finally, this article titled The complete guide to tuning the appearance of NetBeans may be helpful.

How to edit Javadoc popup link color in Eclipse

I am using the Dark theme in Eclipse Oxygen. When I hover over a class to view the Javadoc, the links are in blue and very hard to see
I have tried editing the hyperlink color in Preferences -> General -> Appearance -> Colors and Fonts -> Basic -> Hyperlink text color but that didn't work. Under the Java section in Colors and Fonts there is an entry to edit Javadoc background and Javadoc text color, but I see nothing for Javadoc hyperlink color or something like that. I could change the background color as a workaround but that breaks the dark theme and I'd rather not.
The short answer is you can't because it's system dependent.
Among the many other ongoing dark-theme bugs that need to be fixed, the particular bug you've found has been recently reported here as bug 517393. The target fix for this bug is in Eclipse Photon (4.8) Milestone 2.
I've figured out a workaround for this issue at least for Windows.
On Windows, Eclipse's html renderer follows Internet Explorer's option for changing color of webpage. So, if you do not use Internet Explorer or just do not mind such change of all webpage, let's go!
Please note that some desciption below may not be accurate since I do not use an English version of Windows.
Open IE, click GEAR icon at top right corner - choose Internet Optioin - click Color at the bottom - uncheck Use Windows Color - change the color of Visited and Unvisited, and the rest two to suit your need if you use dark theme in Eclipse. Apply the change.
Then click Accessibility (on the right of Font) - check Omit Color - Apply the change.
It's done.
For those who are like me still stuck with an older Eclipse IDE like 4.7.3 (without the fix of the bug mentioned in the first answer) and are using Windows:
The workaround in the previous answer does not work if you have Microsoft Edge installed instead of Internet Explorer. Reason: Microsoft Edge does not let you change the link color. There are Chrome Extension that you can install but this didn't work for me either.
Another solution could be to switch Windows to "High contrast mode". Someone even managed to change the link color for Eclipse. I accidently found this "temporary" workaround:
Start Eclipse
Activate Windows "High contrast mode"
Eclipse wants to be restarted. Say yes.
Deactivate Windows "High contrast mode"
Again, Eclipse wants to be restarted. Again, say yes.
Now the Javadoc popup looks like in "Light" theme!? So links are very easy to see now.
However, that's not a really comfortable workaround: it needs some time and you have to repeat these steps after every reboot. My "favorite workaround" for now, is to select the link text in the Javadoc popup with the mouse, so that the link text is displayed with a more readable background/foreground color combination.

Eclipse Project Explorer Highlighting

I installed the Eclipse Moonrise UI and the results are great, except a couple things become unreadable for me. Here is an image of what my project explorer window looks like. I have 2 git repositories which have black text, making it very difficult to read on the dark background. The normal files and folders have light text, but when selected, it becomes completely unreadable because the selected item's background is very light. Also my scroll bars are light (unlike what is seen on the front page of the above link).
I am unable to locate where I can adjust these settings.
On the other hand, the Outliner window has light text on the dark background and when selected becomes dark text on a light background. Not the way it is supposed to look with this plugin, but it's fine, I can read it.
I am running Kepler Service Release 2 on windows 7 x64.
Except for scrollbars that are forced by OS theme, try to import the epf file as suggested on project page. The settings contained in that epf will influence the syntax highlighting (foreground/background colors) for code editors but also custom colors for other views (eg. console, git filenames, etc.).
If instead you're using CDT, unfortunately the issues with package explorer and outline file names cannot be solved now, because those colors are hard-coded in that package and requires a fix in CDT bundle for them before.

Eclipse specific colour change with new Ubuntu themes

All but one colour is a problem in Eclipse with the new Ubuntu (10.10) dark themes.
I want to change only this one, not the theme.
This is the background/colour used by Eclipse in lists (Explorer, Open Resource) when an item is pre selected (a selected item displays ok).
The current display is white on light-grey, not easily readable.
Where can I change that?
Update July 2012 (18 months later):
With the latest Eclipse4.2 (June 2012, "Juno") release, you won't depend on the OS colors anymore.
See the article by Lars Vogel in "Eclipse 4 is beautiful – Create your own Eclipse 4 theme":
If you want to play with it, you only need to write a plug-in, create a CSS file and use the org.eclipse.e4.ui.css.swt.theme extension point to point to your file.
If you export your plug-in, place it in the “dropins” folder of your Eclipse installation and your styling is available.
Original answer: December 2010
It is a system color (a background color based on the underlying OS system color properties), so you will have to change a property in the theme, not a setting in Eclipse.
For instance, see "How to change the color of menu text?" (but this may not be exactly how your dark theme works and you will need to tweak the ~/.gnome* files)
just want to say that I had the same problem and that changing the "selected entry" text colour of the theme to #8C8C8C fixed it for me without hurting the themes "look and feel"