I'm running Subclipse on several systems. Mac and Linux seem fine, but on Windows the diff view on the commit panel has a black background which makes it impossible to read. Tried poking around the Preferences > Team > SVN and Preferences > Editors but can't seem to find where this is set.
Would this be useful : Eclipse: Subclipse "Edit Conflicts" ?
Which version of eclipse are you using ?
It seems like this could be a bug with versions of Eclipse before 3.5. If that applies to you then take a look at this subclipse bug and upgrade to a newer version if that is an option.
The compare tool and UI is part of the Eclipse platform. To the degree it can be customized it would likely be in the Eclipse preferences under General > Appearance and/or Compare. It is not something Subclipse controls or tries to define. I have never seen a black background in a standard Eclipse distribution text editor. Perhaps it picks up defaults from the OS? Do you use black backgrounds anywhere else?
Related
I am using Eclipse Luna on Mac OS and I've installed the Eclipse Color Theme plug-in. After choosing the color theme that I liked, I edit it under the Eclipse->Preferences->Java->Editor->Syntax Coloring, where I disable Bold for all syntax elements.
The thing is that, after I close and restart Eclipse, all the Syntax Coloring changes I've made were lost, and it's back with the old ones...
So, how can I prevent Eclipse from forgetting these settings?
As far as I know Eclipse saves every setting in the "workspace". If you switch workspaces your style wont save between workspaces. If you are in the same workspace, then I don't know why its not saving.
Is there a way to have a dark theme in Netbeans?
Darcula
UPDATE 2016-02: NetBeans 8 now has a Darcula plugin, better and more complete than the alternatives discussed in old version of this Answer.
The attractive and productive Darcula theme in JetBrains IntelliJ is now available in NetBeans 8.0 & 8.1!
The Real Thing
This plugin provides the real Darcula, not an imitation.
Konstantin Bulenkov of the JetBrains company open-sourced the Darcula look-and-feel originally built for the IntelliJ IDE. This NetBeans plugin discussed here wraps that original implementation, adapting it to NetBeans. So we see close fidelity to the original Darcula. [By the way, there are many other reasons beyond Darcula to use IntelliJ – both IntelliJ and NetBeans are truly excellent and amazing products.]
This NetBeans plugin is itself open-source as well.
Installation
Comes in two parts:
A plugin
A Fonts & Colors profile
Plugin
The plugin Darcula LAF for NetBeans is easily available through the usual directory within NetBeans.
Choose Tools > Plugins. On the Available Plugins tab, scroll or search for "Darcula LAF for NetBeans". As per usual, check the checkbox and click the Install button. Restart NetBeans.
Profile
In NetBeans > Preferences > Fonts & Colors (tab) > Profile (popup menu), choose the new Darcula item.
Click the Apply button.
I suggest also hitting Duplicate in case you ever make any modifications (discussed below).
Fix overly-bright background colors
You may find the background color of lines of code may be too bright such as lines marked with a breakpoint, or the currently executing line in the debugger. These are categories listed on the Annotations tab of the Fonts & Colors tab.
Of course you can change the background color of each Category manually but that is tedious.
Workaround: Click the Restore button found to the right of the Profile name. Double-check to make sure you have Darcula as the selected Profile of course. Then click the Apply and OK buttons at the bottom.
Font
You may want to change the font in the method editor. I most highly recommend the commercial font for programmers, PragmataPro. For a free-of-cost and open-source font, the best is Hack. Hack was built on the very successful DejaVu font which in turn was built on Bitstream Vera.
To change the font, add these steps to the above to duplicate the profile as a backup before making your modification:
Click the Duplicate button.
Save the duplicate with a different name such as appending your name.Example: “Darcula - Juliette”.
Click the Apply button.
While in that same Fonts & Colors tab, select Default in the Category list and hit the … button to choose a font.
You might also want to change the font seen in the Output and the Terminal panes. From that Fonts & Colors tab, switch to the sibling tab Miscellaneous. Then see both the Output tab and the Terminal tab.
Experience So Far
While still new I am reserving final judgement on Darcula. So far, so good. Already the makers have had a few updates fixing a few glitches, so that is good to see. This seems to be a very thorough product. As a plugin this affects the entire user interface of NetBeans; that can be very tricky to get right.
There was a similar plugin product predating Darcula: the “Dark Look And Feel Themes” plugin. While I was grateful to use that for a while, I am much happier with Darcula. That other one was more clunky and I had to spend much time tweaking colors of “Norway Today” to work together. Also, that plugin was not savvy with Mac OS X menus so the main Mac menu bar was nearly empty while NetBeans’ own menu bar was embedded within the window. The Darcula plugin has no such problem; the Mac menu bar appears normally.
The rest of this Answer is left intact for history, and for alternatives if Darcula proves problematic.
NetBeans 8 – Dark Editor
At least in NetBeans 8.0, two dark profiles are now built-in. Profile names:
Norway Today
City Lights
The profiles affect only the code editing pane, not the entire NetBeans user-interface. That should mean much less risk of side-effects and bugs than a plugin.
Norway Today
City Lights
Tip: You can alter the font in either theme, while preserving the other aspects. Perhaps Menlo on a Mac, or its parent DejaVu. Or my fav, the commercial font Pragmata.
Unfortunately, neither theme suits my eyes. They do not begin to compare to the excellent Darcula theme in JetBrains IntelliJ.
Choose Profile in Font Settings
On a Mac, the menu path is Netbeans > Preferences > Fonts & Colors (tab) > Profile (popup menu).
On other host operating systems, the menu path may be Tools > Options > Fonts & Colors. Not sure, but it was so in previous versions.
Netbeans 8
Tools -> Options -> Appearance (Look & Feel Tab)
(NetBeans -> Preferences -> Appearance (Look & Feel Tab) on OS X)
Netbeans 7.x
Tools -> Plugins -> Available -> Dark Look and Feel - Install this plugin.
Once this plugin is installed, restarting netbeans should automatically switch to Dark Metal.
There are 2 themes that comes with this plugin - Dark Metal & Dark Nimbus
In order to switch themes, use the below option :
Tools -> Options -> Miscellaneous -> Windows -> Preferred Look & Feel option
And then there is the original plugin ez-on-da-ice. Better yet, you can complain to me directly if there are issues. I promise you, I am mostly very responsive :).
http://plugins.netbeans.org/plugin/40985/ez-on-da-ice
On Mac
Netbeans 8.0.2
Tools -> Plugins -> type in search: Dark Look and Feel. Then install plugin.
NOTE: There is no "Option" Or "Appearance" in the "Tools" section in Netbeans 8.0.2.
u can use Dark theme Plugin
Tools > Plugin > Dark theme and Feel
and it is work :)
There is no more plugin in netbeans 12. In case someone comes to this page. Tools->Options->Appearance->Look and feel->Flatlaf Dark
I've been looking on Google for a solution to this, but I don't even know which words should I use to find it...
Anyway, my problem is that Eclipse looks like this in Linux Mint 14 x64:
http://i.stack.imgur.com/BBfyg.png
I'm using Eclipse downloaded from their webpage, not from the repositories.
I've tried resetting the perspective, deleting both the eclipse and workspace folders but it keeps looking like this.
Any ideas?
EDIT
I finally managed to get rid of it. It looks like it had something to do with GTK. I changed the appearance to Classic in Preferences and it solved it.
Going to Window > Preferences > General > Appearance and changing the theme to Classic seems to solve the problem.
Changing the Eclipse Preferences from GTK to Classic did not work for me. Only the background of some Eclipse components get displayed in gray then which makes the visual corruptions less visible.
Yet it helped to change the GTK theme in Linux Mint from "Mint-X" to "Adwaita", which also looks ok. So this could be a workaround.
Update: This is a bit bug/issue/missing feature in the Mint-X theme which can easily be fixed manually. See http://dentrassi.de/2013/04/23/fixing-the-mint-x-theme-for-eclipseswt/
I am using eclipse JUNO.
When the cursor goes over the variable name (in resource and debug perspective) the details of the variable name in displayed in a small window like a box..How to change the color of the window and its details..
In my case the color is actually in black background and white foreground.
Are you using Eclipse on Ubuntu? There this seems to be a common problem caused by default color settings of the operating system.
https://askubuntu.com/questions/70599/how-to-change-tooltip-background-color-in-unity
https://askubuntu.com/questions/1620/how-to-fix-unreadable-tooltips-in-eclipse-helios
https://askubuntu.com/questions/45001/how-to-fix-black-tooltips-in-eclipse
I've tried Juno and the problem is still there. I believe it is a bug in Eclipse: unchecking "System Default" in Java > Editor > Source Hover background has no effect. Eclipse continues to use the system-provided colors even when changing the settings.
This seems to be a long-standing problem with Eclipse developers blaming Ubuntu.
I'm using Eclipse and I don't like the appearance of the user interface, it's to much white color in the background. I have used Eclipse earlier, and then it was better with not all that white area! I have been looking in the preference, but have not found any places to change the user interface. Is there a theme that could be changed !?
Open your Eclipse Market Place and search for "Eclipse Color Theme",install it.
than go to windows> preferences> appearances> color theme, select your favorite style, and enjoy.
For more info read hare.
In Eclipse Juno (4.2) it's possible to completely customize the look and feel of Eclipse via CSS, but doing so yourself isn't exactly trivial. You can get the "old" style theme (Indigo) easily via changing a Preference, see this question.
Here are a couple of other related SO questions and answers:
Eclipse 4 Juno themes
eclipse Juno custom workbench colors