File explorer selected element hardly visible
The selected item in the project explorer looks almost unreadable. How to change either the selected item font color or background color?
I tried to look in Windows -> Preferences -> Appearance -> Colors and Fonts -> View and Editor Folders and changed everything to black (just to check), restarted, but the colors of selected item didn't change at all.
Where else to look to change this color?
Currently it's not possible, the appearance of the Tree widget is the default of your OS (Windows), only foreground/background colors can be customized. It requires a patch to SWT libraries.
But I also have Liclipse installed as standalone parallel IDE and the tree is ok with their theme Liclipse Dark default settings. It looks like this:
Probably, they used a custom painter for Tree to repaint the selected item and the arrows by overriding the Tree widget implementation. It's an hack, the best choice should be providing a patch to the SWT repo that adds a couple of methods to set those styles for Tree, then bind them into Eclipse CSS engine so the new properties can be used into theme's stylesheets. By the way, do you know where they publish their sources?
Fabio decided to have LiClipse close-sourced http://marketplace.eclipse.org/content/liclipse
Same bug still there on current Eclipse on current Ubuntu as at Feb 2022. :(
您好!已收到!