Eclipse Git gets faster – UI freeze reporting activated by default in saneclipse

I love our new platform.ui UI freeze reporting in Eclipse 4.5 which was contributed by Google.

Git in Eclipse gets faster soon, thanks to the amazing reaction time of Robin Stocker and Matthias Sohn and our new Eclipse platform UI freeze monitor. See for example Gerrit review for one of the improvements.

If you want to help to make Eclipse faster, simply download the latest Eclipse 4.5 milestone or integration build and activate it via its preferences.


Afterwards you received entries in the Eclipse error log about UI freeze. If you see a freeze please report it via Eclipse Bugzilla.

As we think the tooling is extremely useful we have activate it by default via our saneclipse plug-in.

Matthias Sohn contacted me with the info that Andrey Loskutov also fixed several issues found with the UI performance monitor. (UI freeze fix)

A big thanks to Andrey also!

Posted in Eclipse, Lars Vogel | 3 Comments

Eclipse Dark Theme enhancement, Section titlebar can now be styled

Since the dark theme appeals more and more developers, it is even more important to deliver a great experience with it.

One critical point concerning the dark theme were those bad looking gradient colors in the Section titlebars.

For those, who do not know what a Section is just have a look at this Screenshot and I bet you will recognize it ;)


The reason for this was a hard coded white gradient for the Section’s titlebar image and the missing CSS handler for the colors in the titlebar.

This two issues have now been resolved so that the setTitleBarGradientBackground() method can now be used in a right manner and in addition to that new CSS properties can be used for the Section.

Here is the CSS, which has been applied by patch 38381:

Section {
       background-color: #4F5355;
       color: #AEBED0;
       background-color-titlebar: #4F5355;
       background-color-gradient-titlebar: #4F5355;
       border-color-titlebar: #4F5355;

The new CSS properties for a section are background-color-titlebar, background-color-gradient-titlebar and border-color-titlebar.
I hope the chosen names are self explaining.

The result of this CSS definitions is:


Looks better, doesn’t it?

If you got any other issues with the dark themes, other themes or your own theme, please do not hesitate to open a new Bug in Bugzilla, like it has been done for the explained issues:

Bug 431635 and Bug 430205

As you may also see in the Bug-reports these features will be available in Eclipse 4.5 M5 or tomorrow in a nightly build version.

Posted in Eclipse, Simon Scholz | Tagged , , , , | Comments Off

Eclipse Hackathon Hamburg, January, 23rd 2015

We like to announce this coming Eclipse event again, since this is such a great Eclipse community event. So please don’t miss the change to be a part of it.

In Hamburg and its surroundings there are so many Eclipse Users, who could benefit themselves by improving their Eclipse IDE and here you get a chance to learn how to do it.

All you have to bring is motivation to hack (and your laptop).

It is always fun, we may learn so many new interesting things, make Eclipse better and even benefit ourselves from our own Eclipse enhancement.

For further information, for instance how to get to the location, look up the official announcement of this Hackathon here:

You may also add your name to the attendees list. Just sign in with your Eclipse Account and add your name to it. But you may also come in case you do not add your name to the list and of course it is free of charge to attend.

Looking forward to see you ;) Be a part of the community!

Resources you may want to have a look at to be prepared:

Posted in Eclipse, Java, Other, Simon Scholz, vogella | Tagged , , | Comments Off

NatTable Getting Started Tutorial published

I’m proud to announce that we published the Nebula NatTable – Getting Started Tutorial at It covers basic information on the background, installing and the architecture of NatTable, and shows how to get started with the first NatTable compositions.

This is the first tutorial in a series of NatTable related tutorials I have planned to publish this year. These tutorials are intended to become the long awaited NatTable user documentation, so stay tuned for more.

It would be great if you provide feedback on the content and report errors and typos if you find any. For this contact us to make the tutorials a valuable NatTable user documentation for everyone.

I would like to thank Lars Vogel for his support and his efforts in encouraging me to write.

Posted in Dirk Fauth, Eclipse | 2 Comments

Preferences Spy for Eclipse IDE and RCP


Figuring out, which preference is changed, when editing a certain preference in the user interface (i.e. Preference-Dialog), may be difficult.

Let the Preference Spy help you with this issue.

Preferences in Eclipse

The preferences in Eclipse are stored hierarchically. So there is one root node and the other preferences are usually stored for each plug-in, which may be identified by the nodepath.

The nodepath usually contains the Bundle-SymbolicName of the plug-in, which defines a certain preference, but you may also define a custom nodepath.

In the following image the preferences are shown hierarchically. On top of the tree you may see recently changed preferences with bold font, like it is also done with recently changed values in the about:config of the Firefox web browser. The non bold preferences are shown by pressing the second toolbar button, which is used in order to show all currently set preferences.

Explanation of the toolbar buttons of the spy:

  1. Toogle between hierarchical and flat layout
  2. Show all preferences with at least one value
  3. Toogle tracing recently changed preferences
  4. Expand or collapse all preferences in case hierarchical layout is chosen
  5. Remove certain or all entries from the preference spy part

Events fired by the Preference Spy

The PreferenceSpyEventTopics class contains certain Topics, which are consumed by the Preference Spy. Especially the “TOPIC_PREFERENCESPY/PREFERENCE/CHANGED” topic may also be interesting for other developers since it notifies, if any preference is changed. You may receive this event like this:

    public void preferenceChanged(
            @UIEventTopic(PreferenceSpyEventTopics.PREFERENCESPY_PREFERENCE_CHANGED) PreferenceChangeEvent event) {

            // print new property value to console

 Further Plans

At first I like to admit that the project is hosted on Github [1] and we really appreciate feedback.

You can also get the preference spy from the following update site [2] and install it directly. The newest version will always be available on this update site.

Another aim of this project is that the preference spy will become an official spy of the E4 tools project. [3]




Posted in Simon Scholz | Tagged , , , | Comments Off

Book “Distributed Version Control with Git” published in the third edition

I’m proud to annouce that I finally managed to release the third edition of my Distributed Version Control with Git – Mastering the command line book has been released.

The book has grown in size, it is 1/4 larger than the last edition. A big thanks goes to Robin Stocker and Alex Blewitt for providing feedback on this edition.

Git book cover

Posted in Eclipse, Lars Vogel | Tagged | Comments Off

Introducing the saneclipse project

If you went to one of the software conferences in which the Eclipse IDE was presented it is not unlikely that you went to one of these sessions, called “JDT Kung-Fu” or “Efficient Eclipse IDE usage”. You also find lots of blog entries with tips on how to configure your Eclipse IDE better.

Examples for this include, the default time to get code completion, file extensions registration, additional templates, running jobs in background by default, automatic placement of semicolon and similar settings.

We at the vogella GmbH company got tired of setting up the same values again and again for every workspace. Also we noticed that several of the developers we work together leave the Eclipse default untouched, maybe they are overwhelmed with the options or just don’t know that they can make their life better.

That is why we created the saneclipse project. This project provides a set of plug-ins which:

  • Registers several default file endings in the Eclipse text editor, because opening the system editor is typically not the desired behavior
  • Adds more JDT templates for JFace, Android and Java programmer
  • Configures the preference at startup of Eclipse to defaults we think have proven to be reasonable

You can find its homepage at The p2 update site is hosted at bintray under and the source is free available under the EPL at Github.

We hope this helps, the project is relatively new, so we expect to improve that over time. For example the additional templates are not context sensitive, we plan to fix that shortly.

Pull request to improve the project are welcome.

Posted in Eclipse, Lars Vogel | 7 Comments

Publish an Eclipse p2 update site at Bintray (via a shell script)

We at vogella GmbH recently started to use Bintray for the distribution of Eclipse p2 update sites. Bintray is a content delivery system which offers free hosting for Open Source projects. Bintray offers a REST API to upload content and we have written a small shell script which uploads the content of a p2 update side to Bintray and activates it.

You find it at Github Pull requests to improve the script are welcome.

I used Bintray-Examples as blueprint for the script. This repo had an example how to upload a RPM to Bintray.

Posted in Eclipse, Lars Vogel | 4 Comments

vogella GmbH is looking for interested students to work in the Eclipse Open Source project

So much to do in the Eclipse platform project. We are looking for students enthusiastic about Eclipse to help us improve it.

See Student – Eclipse Open Source development. Contact in case you are interested.

Posted in Eclipse, Lars Vogel | 3 Comments

Defining JDT code templates via the org.eclipse.ui.editors.templates extension point

I recently had again the need to define new Java code templates via a plug-in so that they can be easily shared among a group of developer. I finally took the time to document it, seeAdding code templates to the Eclipse IDE via plug-ins for a short summary of it.

Posted in Eclipse, Lars Vogel | 1 Comment