4

I can't see which file is selected in the Project Explorer view when the view is inactive, as the image shows.
Someone can help me to change the background color of selected file?
Windows 10
Eclipse 2021-03
Dark theme

background color not visible


I would like something like was in the old Eclipse:

in old eclipse Windows 8.1
Eclipse 2018-12

  • The selection colours are defined by the OS so Eclipse does not have a setting for this. – greg-449 Apr 20 '21 at 06:43
  • Excuse me Greg, but in previous Eclipse version there was a color who highlighted the file clearly, so I think that Eclipse could/should control this color! – Daniele Privitera Apr 20 '21 at 08:57
  • up voted question. I use the same OS, just upgraded to newer Eclipse version. 4.20 to be exact. And I have the same problem. Actually, if you look closely there is a slightly lighter background. You can even see it in the upper picture when the view is not active. But its so similar to the background that it might as well not be there. – brat Aug 13 '21 at 17:20
  • @DanielePrivitera did you managed to find a solution for this? – Gonçalo Cardoso Nov 10 '21 at 14:29
  • @GonçaloCardoso the only Solution that I found to this problem is to use an old version of Eclipse, so right now I'm using-> Eclipse 2018-12 (4.10.0), that has not that problem (so it's very better, for me ; ) – Daniele Privitera Nov 11 '21 at 16:06

1 Answers1

2

I am dealing with the same problem... As a workaround you can take a look at e4-dark_partstyle.css file and make the background a little bit darker so the selection is visible. The key here is to know what element to modify. I have changed the background-color of a bunch of elements (including the one I think is related to package and project explorers, called Tree) from #2F2F2F to #171717.

Hope it helps.

css modification

Original: Original

Modified: Modified

Luis Tello
  • 51
  • 5
  • 1
    thank you a lot Luis for the suggestion. At the moment I'm using the old Eclipse to solve this problem. But in future if will need I'll try your solution ;) – Daniele Privitera Jun 03 '22 at 10:58