Eclipse Theme For Mac

ForTheme

The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 375 open source projects, including runtimes, tools and frameworks.

  1. Installing Eclipse on Mac OS X In this video tutorial you will learn how to download the latest java version and the eclipse IDE for Mac OS X.
  2. This plugin has been tested with the main Eclipse Development Tool packages on Linux distributions, Windows and OSX and with the following Eclipse releases: Luna (4.4) Kepler (4.3.x) Juno (4.2.x) It works best with a dark system theme since currently the look of some GUI widgets cannot be overriden directly in Eclipse.
  3. Dark and light themes for Eclipse 2020-06 or more recent, inspired by planets of the Solar System! Three themes are currently available: Moon: familiar-looking but not an actual planet. Light-grey, by and large sticks to Eclipse's classic color scheme. Neptune: dark blue theme with some red reflections from the distant sun.

eclipse.org went with a mountain peaks as the website theme for the release of Oxygen. I like it; lower Oxygen concentration when hiking at that altitude. And unlike the neon lights, it wasn’t distracting.

Eclipse themes download

The matrix comparing the packages is still clear. The Java version is a subset of the Java EE version. I chose the later since it has the JavaScript tools built in. This year the list of Eclipse packages has JRebel as the second choice (sponsored package) instead of Bluemix. I saw a Bluemix ad for running Eclipse in the cloud so IBM is still paying as well.

Best Eclipse Theme

Installing

I like to download and install a fresh Eclipse so I don’t have random plugins I’ve tried throughout the year. An in place upgrade is an option from Neon to Oxygen though. (it wasn’t a choice from Mars to Neon because of an architectural change). Unlike Neon, it was just a drag to install rather than an installer. Which means I can have both Neon and Oxygen installed at the same time.

When opening my workspace with Oxygen, I got this error:

The cause was that I have Java 9 early access JDK on my machine. I tried adding these two lines to the

/Applications/Eclipse.app/Contents/Eclipse/eclipse.ini and then Eclipse launched cleanly.

After installing plugins and restarting Eclipse, this config “got lost” and I had to make it again.

Installing the plugins

The significant plugins I chose to re-install are listed in this table. eGit, Buildship (for Gradle), m2e (Maven) and I think EclEmma were already installed without me doing anything.

PluginPurpose
Eclipse Tomcat PluginOne click launch for recent versions of Tomcat. (This is the successor to Sysdeo and Mongrel)

Problem/resolution

I got an error Unable to read repository at http://tomcatplugin.sf.net/update/content.xml. Received fatal alert: handshake_failure. I got hit by these known issues. I had to do a few things here:

  1. Upgrade my JDK to the latest (8.131)
  2. Change the eclipse.ini to reference it
  3. Copy into jre/lib/security directory (remember to sudo)cd /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/securitysudo cp <download_path>/*.jar .
  4. Restart Eclipse
EclEmmaCode coverage (I’m pretty sure this was already installed and I didn’t need to). I did need to close and re-open the Coverage view in my workspace.

9/3/17 – Confirmed it was already installed. I needed to install clean on a WIndows 10 box so saw it was on there.

SonarLint I installed SonarLint last year and quickly came to rely on it. It gives you static analysis findings in Eclipse. I also included the SonarLint Java Configuration Helper so it can see the version of Java I am using. (I”m on Java 8 right now so this is redundant at the moment. But I’m ready for when Java 9 comes out.) I stopped installing PMD and FindBugs. I’m using SonarLint instead.
SubversiveTo access Subversion repositories

Problem/Workaround

Eclipse failed/closed the pop-up when I tried to install a connector. This happened regardless of whether I choose SvnKit or JavaHL I can reproduce the same problem in a clean workspace. There’s no message in the log from that attempt. Others have reported this issue online with the SVN connector, but no resolution yet.

I tried installing Subclipse instead. That worked. I had to re-checkout the projects since they were associated through Subversive originally.

Eclipse Memory AnalyzerFor finding memory leaks. Unlike last year with Neon, it installed cleanly from Eclipse Marketplace.
Freemarker IDEFreemarker syntax highlighting and macro assistance.

Failed install

Freemarker IDE from JBoss Tools 1.5 says it supports Oxygen. When downloading, I got the error No repository found at http://download.jboss.org/jbosstools/neon/snapshots/builds/jbosstools-freemarker_master/latest/all/repo.

Last year, it was under the JBoss Tool Project. I couldn’t find that this year. Also, last year, I had to use the Mars version because it wasn’t ready on day 1.

I tried opening a .ftl file. I got a popup asking if want to “Show IDE extensions for this file type and let me install them”. There were two choices. The Freemarker IDE 1.5 and RedHat JBoss Developer Studio which doesn’t look free.

PydevPython plugin/perspective
ContrastTo spot potential security issues. See my impressions of the Contrast plugin.
Bytecode OutlineI’ve been looking at bytecode a good fit for the book to make sure I understand why things are happening. This plugin makes it easy. I first tried Bytecode Visualizer but install failed. (The website says there were 25 failed installs with the same dependency problem in the last 7 days). After installing Bytecode Outline, I realized this was the one I had installed for Luna anyway.
PitclipseFor mutation testing coverage

Java 9

Eclipse Theme For Mac Osx

Since Java 9 comes out (in Sept) after the Eclipse train (in June), there is a page that describes what to do if you want Java 9 support in your IDE. I’m waiting for the official release. For now, I’m good with just using the command line for Java 9. Eclipse Oxygen is going to drop another official release on Java 9 release day with Java 9 support.

What excites me

Eclipse theme for mac mojave
  1. Sorting breakpoints by creation time is nice when debugging in a web app. I tend to forget about the breakpoints once something is working and then have to figure out which ones I want to keep. Since the answer is “the recent ones” this is nice.
  2. When switching workspaces from within Eclipse, there’s an option to copy your preferences. This is great as my previous scheme was copying the workspace and deleting all the projects. (to keep preferences)
  3. The default option to escape characters when pasting in a String. This isn’t a new feature, but I wasn’t aware of it.
  4. The option to skip an import on organize imports. This is great because now you can skip a class with a common name and get the import for later classes referenced that are in that package.
  5. The new button to see the JUnit stack trace in console view. I used to copy/paste it into a text editor and that is no longer necessary.

What I didn’t like

  1. That all my plugins didn’t work out of the box 🙁

Other interesting features

  1. Being able to open images directly in Eclipse is cool. So now you can see the size and image without leaving the IDE. It doesn’t show the height/width though so limited in value.
  2. The new row in the debugger with the return value of the last method called is cool.
  3. Not new to Eclipse Oxygen, but I learned about formatting line breaks.

A fork of this plugin has been donated and merged in the main Eclipse platform repository. Starting from Eclipse Luna, you'll find it preinstalled as the new default dark theme of Eclipse!
You can use this repository to get the latest development version.

Requirements

  • Eclipse 4.2+

Installation

  • Eclipse Marketplace:
    ← Drag this button to your Eclipse workbench to install;
  • Update site:

    Or download this plugin by using Help > Install New Software... and add the update site:

  • Manual:

    Or download moonrise_0.8.9.jar package and put it into your Eclipse dropinsplugins folder;

  • Restart Eclipse and go to Window > Preferences > General > Appearance;

  • Select MoonRise (standalone) or, for a little better tabs decoration, install Eclipse 4 Chrome Theme from marketplace or from here and select MoonRise;

  • Rest your eyes ;)

Syntax highlighting scheme:

You can find the one used in the screenshot here:

  • RainbowDrops.epf (most accurate and with wider support for plugins, download and import it with Eclipse built-in Preferences import: File > Import... then select General > Preferences);

  • or RainbowDrops.xml (download and import it with Eclipse Color Theme Plugin);

  • or here;

Fine-tuning:

There are some settings that can be changed only from the Eclipse Preferences window and that override the theme's settings by default:

  • Change the colors for Content Assist:

    Go to Window > Preferences > General > Appearance > Colors and Fonts then change the colors for Basic > Content Assist background color and Basic > Content Assist foreground color (eg. foreground color: #DDD, background color: #333);

  • Change the colors for Console:

    Go to Window > Preferences > Run/Debug > Console and modify the colors as you like (eg. Standard Out text color: #DDD, Background color: #333);

  • Change the colors for Javadoc:

    Go to Window > Preferences > General > Appearance > Colors and Fonts then change the colors for Java > Javadoc view background. Note that the foreground color cannot be changed and depends on system font color.

Trouble-shooting:

ProblemSolution
The font of the title of the tabs is differentEnsure that on your machine is installed Segoe Print font then open the downloaded jar package with an archive explorer, open /themes/css/moonrise-ui-standalone.css, search for any occurrencies of font-family property and change its value to Segoe Print (or what ever you prefer), then save/update the jar archive.
The size of the title of the tabs is differentEclipse does not scale it with a DPI-Aware policy. Open the jar package downloaded with a file archiver, open /themes/css/moonrise-ui-standalone.css, search for font-size property and modify its value according to your needs.
The label of the checkboxes has a color difficult to readIt's related to a SWT bug, use a system theme that has lighter font color for buttons.
The text of the buttons has a color difficult to read (MAC-OSX)It's related to a SWT bug, try this 'patched' version if you have this issue (no more needed for v0.8.4+).
After updating the plugin, it isn't loaded as expectedEclipse seems to use some sorts of internal resources caching that don't work always very well. To ensure that it's not an issue related to the new plugin version, create a new workspace and import your projects here, or try with a freshly downloaded Eclipse release.

Notes:

Currently this theme uses the CSS-SWT engine introduced in the 4.2 version of the Eclipse Platform and should provide a dark style for each GUI widget that can be handled with the last version of the Eclipse SDK. This plugin has been tested with the main Eclipse Development Tool packages on Linux distributions, Windows and OSX and with the following Eclipse releases:

  • Luna (4.4)
  • Kepler (4.3.x)
  • Juno (4.2.x)

Install Eclipse On Mac

It works best with a dark system theme since currently the look of some GUI widgets cannot be overriden directly in Eclipse. The more noticeable issues related to SWT are the ScrollBar widgets, the Table headers/lines and the arrows to fold/unfold contents that cannot be styled. As minor issues there are Button background color on Windows and OSX that cannot be customized (on Windows checkboxes/radio controls do not inherit font color) and some other little bugs related to the CSS engine that makes the customizations harder and unwieldy. Aside from that, the theme currently might not look perfect on each platform, but should be fully useable on all of them. The Eclipse CSS engine is still under improvement.

References

Eclipse Java Mac

License

Eclipse Dark Theme For Mac

This is open source software, licensed under the Eclipse Public License. See the file COPYING for details.