Eclipse - editor colors - a healthy configuration - eclipse

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.

Related

Dark mode in Eclipse changes the color of the drop down menu text making it unreadable. How do I fix this?

I'm new to using Eclipse and programming softwares in general, so more thorough explanations would be appreciated!
How do I change the text back to a dark color to read it, and is it possible to make the background grey and keep the text white?
Depending on the Eclipse version you are using, Dark theme may differ:
Under Eclipse Bar Menu Window, select Preferences
From the Preferences Window, Select General -> Appearance
From the drop down Theme, select one of the available "Dark" themes
You could also click here on the Restore Default button to revert all changes you have tried then Click on Apply button
Must restart Eclipse to be effective.
Following is the Default Dark Theme when using Old Eclipse 2019-09
Following is the Default Dark Theme when using New Eclipse 2020-12
I had the same issue of having light background and light text in the menu dropdowns.
Fixed by cycling the Windows theme from custom to "Windows" then back to a dark these. This was done in Personalization -> Themes in Windows 10. Now, the dropdowns are dark with legible text.

Eclipse Background Color will not change OSX, Pydev

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)

Eclipse color theme plugin issue

I just installed the Eclipse color theme plugin and when I go to "Preferences-General-Appearance-Color Theme" and choose a new theme it does not change my colors. I am testing this in both the "Web" and "JavaScript" perspectives.
Currently my background color is black (which it was not before, and I in fact have no idea how it got switched). I just want to switch it back to a typical white theme.
Ok, I figured this out. I also have Aptana Studio installed in my Eclipse. Under the settings for Aptana Studio is a category called "Themes". When I changed the theme here my colors finally changed. This also explains why my screen switched to a black background. It must have been the default color theme for Aptana when I installed it. I guess the Aptana Studio themes override the default Eclipse color settings and also the "Color Theme" plugin I installed.

I want to change the color of the text editor of Eclipse easily!

Eclipse is a default, and a background color is white,
but many developers uses the dark color (black) and thinks whether it is used the letter color with white or green.
I can't find tools which the color template can change an editor color of Eclipse by a blow very much.
Do you know featured WEB sites.?
If get possible to choose dark color among a beginning like MIFES, makes me Happy
I don't fully understand your question but for changing Eclipse's editor background color just go to menu: Window > Preferences, and in the dialog go to General > Text Editors. In that form just select Background color from the list Appearance color options and use the color picker in the right to change it. For other formatting options go to General > Colors and Fonts in the same dialog.
NOTE: All these formatting changes are saved in your workspace if you create a new one it'll start with the default settings
As a very late follow-up (just found this via search), there is now Eclipse Color Theme, a plugin you can grab from the marketplace. It enables you to use color themes from various sites and load them directly.
They even got a few relatively close Netbeans-lookalikes (that's why I was looking for one).
If you mean "themes" as Netbeans has "Dark pastels" theme - then Eclipse currently doesn't have this feature.
In the newer version of eclipse, we have an option Switch to Theme...
This should resolve the issue.

Eclipse fonts and background color

I have been trying to change the background color of Eclipse's windows to black and customize the font colors. There doesn't seem to be a way to do this, at least not in an obvious way. I am using version 3.3.
How do I do this or are there any plugin's that might be able to assist in doing this?
To change background colour
Open menu *Windows → Preferences → General → Editors → Text Editors
Browse Appearance color options
Select background color options, uncheck default, change to black
Select background color options, uncheck default, change to colour of choice
To change text colours
Open Java → Editor → Syntax Colouring
Select element from Java
Change colour
List item
To change Java editor font
Open menu Windows → Preferences → General → Appearance → Colors and Fonts
Select Java → Java Editor Text font from list
Click on change and select font
I just came across this: Eclipse Colour Themes
Install the plugin and choose from a selection of pre-defined themes, or write your own.
Just what I needed!
Under Windows → Preferences → General → Apperance you can find a dark theme.
Background color of views (navigator, console, tasks etc) is set according to the desktop (system) settings. On Linux/GNome I changed System/Preferences/Appeareance to change this color.
Editor colors are set chaotically by different editors, search for background in eclipse preferences to find different options. One easy way to get beautiful dark (and not only dark) themes is to install Afae plugin, and then pick theme within its preferences (twilight theme is beautiful, for example) - again, eclipse prefs, Afae group. Of course this applies only when you edit with Afae.
If you are having trouble with Eclipse 2019 and using a dark theme and setting the background and having it not change: There seems to be a recent Eclipse bug. I suggest you look here or here for workarounds.
You can install eclipse theme plugin then select default.
Please visit here: http://eclipsecolorthemes.org/?view=plugin
If you go to Windows, Preferences then select General, Editors, Text editors, you can set colors on that property page (and there's a link for setting MORE colors - General, Appearance, Colors and fonts).
That's with an Eclipse 3.3 build anyway.
The easiest way is to install the plugin is from the Eclipse Marketplace. Go to Help→Eclipse Marketplace, then search for Eclipse Color Theme and install it.
... on a Mac, Preferences' is under the main 'Aptana Studio 3' menu rather than the 'Windows' menu as mentioned above.
On Windows or Mac, you can find this setting under the General → Editors → Text Editors menu.
Switch to Theme... is also an option