Eclipse Background Color will not change OSX, Pydev - eclipse

Please read before marking as duplicate, I have searched for an answer to my specific issue for a long time and have not found one.
My Eclipse (Luna 4.4.1) IDE refuses to change the background color for the text editor. Please see the screenshot. It seems to be black when the IDE starts, then after a few seconds it switches to white.
I have tried (with restarts of the program between changes):
Eclipse > Preferences > General > Appearance (Set to Dark or Moonrise)
Eclipse >
Preferences > General > Appearance > Color Theme (Tried many dark themes)
Eclipse > Preferences > General > Editors > Text Editors > (Background Color => Black)
I'm using the PyDev Pluggin, but I've also tried switching to Java and other perspectives and have the same problem. I've tried installing the Moonrise theme, and uninstalling and reinstalling the same as well as the Eclipse Color Theme plugin as well.
Has anyone seen this before and figured out a solution?
Updated:
If I change the IDE to the Java perspective and open a Java file I still have the annoying white background, but in a slightly different way:
I have uninstalled the moonrise theme and I am just using the Dark Theme here. I think this rules out Pydev influencing the colours and it must be something at the general editor level. Though again, I have set the background color to black for the general editor.
MAJOR UPDATE - The bug is somewhat reproducible
Ok, so I haven't solved the problem but I've figured out what's triggering it! When I open Window > Customize Perspective, the background switches to the correct black style and then stays that way until I restart the IDE. That's without me changing any settings, just the mere act of opening that dialog. But why?

I guess my answer to the this post How to change color of Editor in Eclipse works for you.
I think its because of Editbox plugin. Make EditBox Off then check. If not working uninstall EditBox then check.
Its because of conflicts between Editbox colour settings and eclipse theme settings.

From patchnotes, pydev seems to support the eclipse darktheme since 3.6.0 :
http://pydev.org/history_pydev.html
The PyDev editor supports the new dark theme in Eclipse 4.4 (so, when it's chosen the editor colors are properly updated).
I believe the pydev editor has his preferences, so if you want to edit colors for the editor, it might be under :
Window > preferences > PyDev > Editor
You can find some resources to customize the pydev editor (if still not answerint to eclipse dark theme) here : http://pydev.blogspot.fr/2009/07/creating-dark-theme-and-exporting-and.html
You can try disabling pydev editor through file type extension but not sure it will be a nice syntax coloring (window>preferences>pydev>editor>code style>filetypes)

Related

Can't change theme for Eclipse

I tried installing a theme util from market place (Eclipse Color Theme 1.0.0) but I keep getting a confirm dialog and when I click it nothing happens. It says no repository found in git.
When I try to change it in preferences. It doesn't change I have dark on dark text currently and can't read it very well.
The screenshot shows the preferences for the syntax coloring themes of Eclipse TM4E, which is used for instance by Eclipse Wild Web Developer for JavaScript, XML, etc. mostly in combination with a language server for code completion. Those syntax coloring themes are shown in the Generic Text Editor in the right-click Switch to theme submenu.
The UI theme you are probably looking for can be selected in the preferences General > Appearance instead.

In Eclipse, how do you change the foreground and background color in the default text editor for plain text files with no file extension?

In Eclipse for C/C++, how do you change the foreground and background color in the default text editor for plain text files, that is, files with no file extension?
I tried going to window > preferences > general > editors > text editors > appearance color options.
Here it says foreground color and background color, and after hitting 'apply', the color of the text changes briefly, but returns to default as soon as you close the 'preferences' window.
The other thing I tried is to set file associations and try to set a different internal editor as the default for plain files. However it seems to only work for files that have an extension.
I often have to deal with existing files in a repository that are actually bash scripts, but the files have no extension. It is annoying then to not even be able to configure the settings of the editor. If I can't find a solution for this, it looks like I either have to 'embrace the suck' or use a different editor outside of Eclipse.
I'm working on Kubuntu 2020-04 with Eclipse 2020-06 and using the dark theme.
It looks like the same problem as here, but I couldn't find any satisfying solution. The problem was reported there on 2020-01-03, so it actually predates my Eclipse version.
Thanks to #howlger for suggesting to upgrade. After upgrading to Eclipse version 2020-12, the first method I mentioned in the question works, that is, going to window > preferences > general > editors > text editors > appearance color options. Here you can change the foreground color and background color and it will actually stay the color you selected.

Change Font Colors and Style for TeXlipse Only in Eclipse

Having just installed the TeXlipse plugin onto Eclipse 4.5, I am having a difficulty figuring out whether there is a way to change how Eclipse highlights the TeX code. At the moment, I am using the dark theme for Eclipse and the colors (dark blue, purple, etc) it chooses for TeX are hard to see. I would like, however, to leave all the styling for Java code as is.
Go to Window > Preferences > Texlipse > Editor > Syntax Highlighting, there you can change colors and font type.

Eclipse Luna scroll cant be dark

I'm trying to make my eclipse full dark on windows OS. This is what happened:
The scroll is still white (on the right), both in "Dark" and "Moonrise" theme. I googled a lot and found out that i must update my eclipse to 4.4.1. I updated my eclipse, but the problem persists.
Please help me. Thanks for your time.
It's because scrollbars color is set in your desktop environment settings. E.g. windows, or gnome.
To make eclipse using dark scheme you need few steps:
Install/configure any dark theme for your desktop environment. For linux / Gnome 3 Flashback I suggest using GnomishDark.
Install "Eclipse Color Themes" plugin to Eclipse from Marketplace.
Choose theme you like in Eclipse (General -> Appearance -> Color Theme). E.g. I used Wombat.
If you want change some other colors, look here:
General -> Appearance -> Colors and Fonts
General -> Editors ->Text Editors -> Annotations
General -> Editors ->Text Editors -> Quick Diff
General -> Editors ->Structured Text Editors
You can see my eclipse with GnomishDark theme here.

Eclipse - editor colors - a healthy configuration

I use Eclipse for Java, Python, C(++) and so on.
I'm accustomed to Vim and the dark color schemes. The default white background just hurts my eyes. And that's a real problem. It doesn't seem Eclipse supports any schemes? I tried a Plugin but it doesn't seem to work for MacOS and Eclipse 3.3.2.
Is there any better option for some color support?
Thanks,
wishi
There are some dark color themes available in the Eclipse Color Theme plugin:
http://marketplace.eclipse.org/content/eclipse-color-theme
Please check Fonts and colors in Eclipse for customization of Eclipse.
Note: Eclipse Luna (4.4, to be released in June 2014) just introduced (May 2014) a default syntax coloring for dark theme when using the Koneki project: see bug 433607, by Simon Bernard:
That illustrates how you can define your own syntax coloring theme and how you can register an extension to the dark theme for recent (4.x) Eclipse.
Go to "Preferences" under the "Window" menu.
In the dialog that pops up, select General, then Appearance, then Colors and Fonts
Correction: for editor foreground / background colors, you need to go to the preferences dialog, then select Editors, then Text Editors
You can also go to your source code, press the right mouse button, select an option under "Appearance color options:" and change the color using the "Color:" selector displayed.