Is BLACK the color of the season? My students really seem to love these ‘dark’ Eclipse themes. Well, I tried ‘dark’ themes in the past, but I have not been vey excited about it. Somehow I preferred more the ‘black on white background’ thing. But: I have now managed to install the ‘Darkest Dark’ Eclipse theme into the NXP MCUXpresso 10.2 IDE for my daily work, and I feel it hurts my eyes less? Maybe I’m getting older? Or could it really be that ‘dark’ look and feel?
Find out for yourself in the following article….
💡 WARNING I don’t recommend any more to install the ‘Darkest Dark’ into Eclipse. The problem is that it is a massive change of the underlying plugins, and this could cause many kind of issues up to problems that standard things crash or do not work. For vendor provided IDEs I recommend the built-in Themes, e.g. in MCUXpresso IDE there is a ‘dark’ them pre-installed: Tweaking MCUXpresso IDE Black Theme
I have described in this article how to install the ‘Darkest Dark’ theme from Genuitec into the Eclipse based MCUXpresso IDE 10.2. That theme installs fine into ‘stock’ Eclipse Oxygen, but because a few plugins are missing in MCUXpresso IDE, I describe the necessary steps to have it installed.
Installation of Mylyn
Plugins should usually find and resolve their dependencies. At least at the time of writing this article, the Genuitec plugin somehow fails in case Mylyn is not installed (this might happen for other Eclipse distributions too).
For reference, the error I have received with no Mylyn installed is:
Cannot complete the install because one or more required items could not be found. Software being installed: DevStyle (includes Darkest Dark Theme) 220.127.116.11805291134 (com.genuitec.eclipse.theming.feature.feature.group 18.104.22.168805291134) Missing requirement: Webclipse Common Core Platform Utilities 22.214.171.124805291134 (com.genuitec.eclipse.core.common.platform 126.96.36.199805291134) requires 'package org.apache.commons.httpclient 3.1.0' but it could not be found Cannot satisfy dependency: From: Genuitec Base 188.8.131.52805291134 (com.genuitec.eclipse.common.core.base.feature.feature.group 184.108.40.206805291134) To: com.genuitec.eclipse.core.common.platform [220.127.116.11805291134] Cannot satisfy dependency: From: DevStyle (includes Darkest Dark Theme) 18.104.22.168805291134 (com.genuitec.eclipse.theming.feature.feature.group 22.214.171.124805291134) To: com.genuitec.eclipse.common.core.base.feature.feature.group [126.96.36.199805291134]
To solve such a problem, you need to install at least a portion of Mylyn. What I did is installing the part of Mylyn which comes with stock Eclipse Oxygen.
From https://www.eclipse.org/mylyn/downloads/ I have downloaded the latest release and used it with Help > Install New Software:
With these installed, the above error message will not show up in the next step when installing DevStyle:
Installation of DevStyle
To install the Darkest Dark Theme, I use the following Eclipse update site (Help > Install New Software):
and install the following plugin:
This should now install without issues :-).
With the new plugin installed, I have now new workspace themes, the ability to do inline search and a new Eclipse startup experience:
It asks me for my style preference which I can change anytime later:
The plugin comes with a nice Eclipse Launch experience:
With the Darkest Dark theme, things are really looking ‘dark’ 🙂 :
Debugging with the disassembly view in ‘black’:
A nice feature is the ‘inline search‘ which avoids the usual modal dialog:
The Dark Theme looks great for all the ‘standard’ Eclipse views and plugins, because the Darkest Dark Theme replaces icons/etc to make them work very well. This is not the case for any non-standard or custom plugins. As a result, the dark theme might not work well for some views (e.g. the MCUXPresso Config Tools). What I do in this case I temporarily switch from the ‘DevStyle’ theme to the ‘classic’ Eclipse theme in the workspace settings:
It will ask me to restart the IDE, but I have found that for such a temporary switch this is not necessary. To make a clean switch, I recommend to restart the IDE.
If installing the Darkest Dark plugin fails, it might be because some parts of Mylyn are missing. Using the theme is very handy especially if you feel that such a dark theme does hurt your eyes less. So it can make working long hours with Eclipse even more comfortable. I might be that not every Eclipse plugin has been tuned the details for using it with a dark theme, but for sure core Eclipse features and editing looks really nice with the Darkest Dark theme.
What do you think about these ‘dark’ themes? How important are they for you? Post a comment and let us know.
Happy Darking 🙂
- NXP MCUXpresso IDE: http://mcuxpresso.nxp.com/ide/
- MCUXpresso IDE article: Overview of MCUXpresso IDE v10.2.0
- Genuitec web site: https://www.genuitec.com/
- Mylyn downloads: https://www.eclipse.org/mylyn/downloads/
- Inline Search: https://www.genuitec.com/docs/power-ups/using-inline-search/
Darkest Dark was one of the first things I tried with MCUX. I had some trouble with project property page layouts that I think might have had more to do with the GNU ARM Eclipse plug-in, but I’m not certain. Ended up removing it to have one less thing to muddy the waters.
Make sure you give us an update in a few weeks! If it’s working out well for you I’ll give it a try again myself. Borland Turbo C++’s white-on-blue background was probably the darkest I’ve worked with before (and looking back on it now it’s kind of glaring) but dark is trendy now, and these modern displays do get a little overly bright.
Also we’re getting old.
the theme replaces or overlays the stock eclipse icons and view settings of the common CDT/JDT plugins. From what I can tell is that the views for anything ‘non-standard’ do not look as clean and nice.
Resulting in some icon artifacts or not-so-easy-to-read views. But it looks fine for the standard views. So for the GNU ARM (ähm: MCU) Eclipse plugins the same issue exists: they have not been tuned or optimized for the dark theme.
I think if there is enough demand, this might change. Or if users contribute back better settings?
Installed without a hitch here – didn’t need to install any extra plugins. And now I remember that one thing I don’t like about it is the tiny scroll bars. I’d swear I found a way to change them but I don’t remember what it was now.
One thing that helps offset that is the Overview plugin. It gives you a zoomed-out preview like the one in VS Code. And the latest version no longer crashes on map files!
I tried this with the original 10.2 setup, and I had to add the extra Mylyn plugins. Maybe you have it installed from another plugin?
I’ve tested Darkest Dark + DevStyle on Eclipse Oxygen with Liviu Ionescu’s MCU plugin.
The same small problems with dark themes emerged. In debug mode, in disassembly view, colors are not right and op codes are not visible. In New Project window, compiler names are not rendered properly (again because of background color being the same as foreground color). I can’t also change the editor colors (why comments are yellow?)
Have you tested this on Oxygen also?
what Eclipse CDT/version are you using. The disassembly view looks fine in Oxygen: https://mcuoneclipse.files.wordpress.com/2018/05/disassembly-view.png
Thanks for your reply.
Debug the project and look at the disassembly view. The 3 recent instructions are highlighted in Eclipse CDT but due to the way the devStyle theme handles colors, the 3 recent instructions would be unreadable because of background color of op-codes.
Other than that, click “New C project”, compiler section is also unreadable.
The ‘smoothing’ of the disassembly instructions is still readable for me (less ideal, but ok). Maybe there is a setting somewhere to disable this?
As for the New C Project wizard: the compiler section is empty for me, so there is nothing to read anyway?
Here are some snapshots:
– light-newproject: https://imgur.com/a/2OG7lWZ
– light-disassembly: https://imgur.com/a/KN0r2pk
– dark-newproject: https://imgur.com/a/woCc7Ze
– dark-disassembly: https://imgur.com/a/7x66r1J
I also have another problem which I guess is related to Oomph. Theme changes are not persistent between restarts and clean starts. This behaviour is so random that I can not even reproduce it for a bug report.
Did you have try to run project debug? look at the Disassembly window, it’s ugly.
Yes, I did debug projects with the dark theme. I don’t know what you see, but for me the Disassembly view is very decent:
I have testet Darkest Dark + DevStyle on MCUXpresso 10.2 and I liked it. Better for my eyes! But unfortunately some perspective does not work well at all : Especially MCUXpresso ‘s own extensions like pin tool and clock tool. Colors are horrible, and it is no longer possible to select from some dropdown menus (blank content) like Routed Pins table view. I had to uninstall it. Hope it will be fixed in the future.
Yes, I noticed as well that the configuration tools are not really usable with that dark theme, and haver reported it to NXP, hopefully they can improve this in the future. I did not uninstall the theme, as I can switch to the normal theme whenever I want to use the config tools. I spend more time in editing and debugging, so it is still worthwile for me to use the dark theme.
Thanks! Where can I switch between dark theme and normal theme ? I was looking for it, but didn’t find it. That would make me install it again!
I have added a section “Switching Themes” to end of the oritinal article explaining how to switch between themes.
Easier way to install it on MCUXPresso 10.2.0 through the market place:
1. Open the IDE and go to Window > Preferences > Install/Update > Available Software Sites. Click ‘Add’ and enter the update site url for Neon in the Location field : http://download.eclipse.org/releases/oxygen/
2. Once done, go to the Eclipse Marketplace and install the Darkest Dark plugin.
I tried the marketplace, but it did not work for me, that’s why I ended up in this article. you say ‘url for Neon’, but you are using the oxygen URL?
There were problems when installing mylyn-3.25.0.v20180628-2143.
worked fine I have been having problem with stock theme was too bright during the night
Thanks for commenting. I think ‘dark’ theme support will get better and better over time.
Hello. Could I ask you, how can I change this color?
Here is: https://ibb.co/MnhFnkP
I can’t to find it anywhere. Thanks.
I think you cannot change that in this version (V11.0.1). But I have been told that in the next version things like this will be improved.
But it seems strange to me. Because I also installed this program with a black background on a second computer and the result is different. Now it shows me nicely. It’s a horror on the previous computer. I really don’t know how to change it.
Here’s what it looks like on the other computer:
Is it really impossible to change it?
This ‘darkest’ plugin has a really deep impact into the Eclipse system, changing a lot of things. I’m not surprised that some stuff might be broken, especially depending on what plugins are otherwise installed. I think that second computer uses different other plugins.
Pingback: MCUXpresso IDE V11.1.0 | MCU on Eclipse
Pingback: Tweaking MCUXpresso IDE Black Theme | MCU on Eclipse