Eclipse on Retina

After decades of using windows as my major operation system, I decided to switch to a more developer friendly system namely Mac OS X. Totally excited I unwrapped my freshly delivered 15,4 Mac Book Pro with Retina Display and started to install my development environment.

So I started with the installation of Java 1.7 and downloaded the latest eclipse version. After the installation I started eclipse the first time and I was totally disappointed, because instead of crystal clear fonts eclipse was looking absolutely ugly.  What a s*** no retina support for eclipse?

Yes, I know some people switch to netbeans it is far better, but unfortunately netbeans does not yet support JBoss 7 as server runtime.

Eclipse Low Resolution Retina

Following my instinct I was quite sure that I wont be the only one having the problems and there is already a bug filed in the bug tracker of eclipse.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=382972

Unfortunately UNSOLVED, but following the discussion Brandon Hudgeons provided a quite easy work around:

Do “Show package contents” on the Eclipse.app.  Edit Contents/Info.plist.  Just above

</dict>
</plist>

Place this:

<key>NSHighResolutionCapable</key>
<true/>

Then, log out or make a copy of the app so that OSX will notice the change.  Now, the info window will not show “Open in Low Resolution” as checked.  Launch Eclipse and enjoy your new retina awesomeness.

So to wrap it up the Info.plist content should look like that:

    <key>NSHighResolutionCapable</key>
    <true/>
  </dict>
</plist>

With this little trick your eclipse looks absolutely amazing on retina.

Eclipse Retina High Resolutio

The best thing that trick also works on other applications, which are not yet totally retina display enabled. Just check by opening the context menu of an ***.app and look at the information entry, if the “open in low resolution” is ticked and grayed out.

About Jens Weber

Social Tech Entrepreneur located in Munich with experience in building and selling companies. Current Project: http://campus-compass.eu
This entry was posted in Development, Eclipse and tagged , , , . Bookmark the permalink.

3 Responses to Eclipse on Retina

  1. fdorigo says:

    What about the icons, though? The text looks much better after the hack, but the toolbar icons are still pretty bad.

    • webersdw says:

      Yes, the icons are a problem. I tried to solve that too, but unfortunately the icons are just not available in a higher resolution and because of the nature of Java and the package structure all icons seem to be distributed in the different plugin packages.

      What bothered me most, was the text. For the icons unfortunately we need to wait for font-icons or similar.

      • Nikos says:

        It is important for Eclipse to support an automatic upscaling feature that enlarges small icons on HighDPI displays. This should be the default when a plug in does not provide icons with sufficient resolution.

Leave a comment