Introducing Snipmatch Snippet-Sharing at Eclipse DemoCamps 2013

Join us in November for the next round of Eclipse DemoCamps. While this summer we unveiled the first crowd-sourced code-completion engine, this winter we will go one step further and bring you a new way to share “Code Snippets with the World (and Eclipse).” As the title suggests, we will show you how you can benefit from the collected code snippets of the community – and how you can contribute back!

Code Recommenders 2.0 Released

When we released 1.0 in June 2012, we actually had no idea how developers would respond to a completion engine that “messes up” with your code completion window just because it “thinks” it would know better than JDT which proposals you are more interested in. But it turned out that the idea wasn’t wrong at all and you guys actually liked the idea of Code Recommenders quite a lot.

There's a lot to see at EclipseCon Europe 2013

The Codetrails team is traveling to Ludwigsburg for EclipseCon Europe 2013, where we are looking forward to a lot of interesting sessions. Picking and choosing from this year’s great selection is quite hard but here is a short, non-complete list of sessions we plan to attend:


We are looking forward to a hands-on experience at the following tutorials:

The future of Eclipse

Join the discussion on how to shape the future of Eclipse.

Snippets and Extended Code Recommendations for Vaadin: Thinking of U and I and All of Us

If you are developing Java applications for the Web, chances are that you have tried Vaadin, an open source Web framework with a great, modern look and feel. Vaadin not only has excellent documentation but also a tight integration with the Eclipse IDE.

Still, Vaadin’s documentation sits on the Web, and you are working in your IDE. At Codetrails we asked ourselves, “Wouldn’t it be great if the IDE itself could help you learn the Vaadin framework?” We came up with a two part answer: Eclipse Code Recommenders and Snipmatch.

Eclipse Code Recommenders offers you recommendations on how to use the Vaadin framework based on how others have used it before, both in the form of intelligent code completion and API Docs. Snipmatch gives you instantaneous access to a collection of common code snippets supplied by the Vaadin Sampler. In either case, you never have to leave the comfort of your IDE.

To make setup as easy as possible, we bundled Eclipse Code Recommenders, Snipmatch, and all the recommendation models and code snippets created with our [ctrl]flow Miner in an easy-to-install package: Codetrails Vaadin Support. So here’s how to get recommendations and snippets for Vaadin:

Powered by 33 Million Code Completions: Codetrails Connect 1.2

We are very proud to announce the release of the Codetrails Connect 1.2, for which we leveraged the power of 33.765.212 code completions. Yes, that's over thirty-three million!

Where does this number come from? Using our own [ctrl]flow Miner, we analyzed a collection of over 30 GB worth of open source software. We then bootstrapped the Codetrails Community server with every single method call, constructor invocation, or overridden method found therein, effectively simulating the development of thousands of popular libraries. The number of simulated code completions obtained this way is truly mind-boggling:

  • 28.487.971 methods were called
  • 3.164.644 constructors were invoked
  • 2.112.597 methods were overridden

What this means is that you no longer have to wait for the community to code-complete enough to get sound statistical data; you can simply leverage the wealth of code already written by the community. And if more than thirty-three million code completions are not statistically sound, then we don’t know what is.

But there is more: Have a look at all the great new features of Codetrails Connect 1.2 after the jump!

[ctrl]flow Miner 1.0 released!

We couldn't be more excited about announcing the release of version 1.0 of [ctrl]flow Miner. After an extensive period of public beta testing and incorporating a ton of user feedback we are proud to bring you the definitive tool to bring intelligent code completion and extended documentation to Eclipse.

Imagine having the power and convenience of Code Recommender's features available for all the APIs you use. If you are new to an API, you can get started using it much more quickly. If you are already familiar with a particular API, the [ctrl]flow Miner gives you a productivity boost by decreasing the time you spend in code completion.

Check out our video introduction after the jump!

Almost there - [ctrlflow] Miner 0.9 released

We are very pleased to announce the release of version 0.9 of the [ctrl]flow Miner, the tool to bring intelligent code completion and extended documentation to Eclipse. Now version 1.0 is just around the corner.

This release enhances the user experience by providing much cleaner and consistent console output while shortening many command names to more intuitive ones. Have a look at the release notes to see the full list of changes. Or have a look a look at our updated tutorial which gets you started with the [ctrl]flow Miner in no-time.

With our first major version release of the [ctrl]flow Miner on the way, we hope to hear your thoughts and suggestions on what to include in this version 1.0. Our community forums are always open, or simply send us an e-mail.

Download [ctrl]flow Miner Tutorial

Crowd-sourced Code Recommendations - 27 more days to win a Raspberry Pi

With over 10,000 completion events collected, the Codetrails Connect (formerly Woodstock) community have contributed a significant amount of data. Using Codetrails Connect, they’re sharing their development knowledge with each other on an ongoing basis, enhancing their own and their colleagues' IDE’s through intelligent code completion recommendations.  See Johannes’ post for some things we’ve learned.

Can’t repackage? You can still OSGi-ify your tools.jar

OSGi is a great way to manage your project’s dependencies. Unfortunately, not every JAR comes with proper OSGi headers in its manifest. And while, for example, the Eclipse Orbit project does a great job of turning ordinary JARs into fully-fledged OSGi bundles by repackaging them with the necessary headers added, repackaging is not always an option.

One such exception is your JDK’s tools.jar, which contains very useful things like the Java compiler or the JavaDoc tool. In this case, Oracle’s license terms prevent you from shipping a standalone tools.jar, yet alone a modified one. There is, however, a simple workaround.