How to change background color in Navigator view in eclipse?

I did not find any possibility for this, so I suspect that some views correspond to the color palette of the operating system. I am currently using OS X, and it seems that changing the default background color is also not possible.

What I'm trying to do is create a dark background theme, but tuning seems possible only on some eclipse views.

+6
eclipse background-color colors color-scheme
source share
4 answers

As mentioned in the section Changing the color of the user interface in Eclipse :

Each time you see white or gray, it is more than likely related to the colors of the OS system.

(i.e. for everything that is not an editor or user view).

This most likely applies to viewing the navigator, as recalled in " How to change the background of all VIEWS in the Eclipse IDE? "

0
source share

For platforms where eclipse uses gtk (e.g. Linux), you can use your own gtkrc file (put it, for example, in the eclipse base directory)

style "eclipse" { base[NORMAL] = "#FDF6E3" fg[SELECTED] = "#FDF6E3" base[SELECTED] = "#073642" fg[NORMAL] = "#073642" text[NORMAL] = "#073642" base[ACTIVE] = "#073642" } class "GtkWidget" style "eclipse" 

And user run script for eclipse

 #!/bin/sh GTK2_RC_FILES=gtkrc ./eclipse 

Got a solution from http://blog.sarathonline.com/2008/10/solved-eclipse-looks-good-in-ubuntu-now.html

Combine this with a color themes plugin for coloring editors

+10
source share

My business: Eclipse ver. 2018-09, Win 10. Eclipse installation folder: C: \ eclipse \ eclipse-2018-09

I compared 2 files: 1) C: \ eclipse \ eclipse-2018-09 \ plugins \ org.eclipse.ui.themes_1.2.200.v20180828-1350 \ css \ e4_basestyle.css 2) C: \ eclipse \ eclipse-2018- 09 \ Plugins \ org.eclipse.ui.themes_1.2.200.v20180828-1350 \ CSS \ e4-dark.css

And recognize the css selector "CTabFolder Tree, CTabFolder Canvas" is present in the dark, but absent in the basestyle.

Add this selector to the file "e4_basestyle.css"

 CTabFolder Tree, CTabFolder Canvas { background-color: #dddddd; color: #000; } 

and you can adjust the color for navigational viewing.

Then select the theme "Light" in Preferences-> "General"> "Appearance" and click "Apply."

+1
source share

When Git is present, Project Explorer colors can be changed using Preferences> General> Apparearance> Colors and Fonts> Git

0
source share

All Articles