Kotlin Eclipse Plugin 0.7 Is Here!


We are happy to present a new release of our plugin for Eclipse IDE. Along with the support for Kotlin 1.0.2 compiler, this update brings very important features and improvements.

The code formatting feature was rebuilt in this release. Instead of our first naive implementation we have mostly managed to port the advanced formatter from the Kotlin IntelliJ Idea plugin into Eclipse. This means that a lot of fixes are already there and upcoming improvements will be picked up automatically!

New line auto-indent also benefitted from this code reuse and now shows far more predictable and smart behaviour.

It was possible to add missing classes imports one-by-one with a quick-fix since 0.1.0 version, and now we’ve improved on that by introducing the Organize Imports feature. It will clean unused imports, add missing imports for classes used in the file and resort them.

Our completion got several fixes in prioritizing variants and is now far more usable. Also not-imported classes are now suggested in completion popup at once and will be inserted together with the corresponding import.

Several quick-fixes about missing or illegal modifiers were added:

  • It’s now possible to add an open modifier to a declaration which is overridden or subclassed.

  • It’s now easy to deal with the “class must be declared abstract” compiler error.

  • Invalid modifier removing is now also available from the quick-fix popup.

Please give it a try.

Drag to your running Eclipse workspace to install Kotlin Plugin for Eclipse

If you run into any problems or encounter missing features, please don’t hesitate to leave your feedback here or file issues in YouTrack.

This entry was posted in Tools. Bookmark the permalink.

2 Responses to Kotlin Eclipse Plugin 0.7 Is Here!

  1. missourian says:

    thanks for the updated plugin, working for a large enterprise where eclipse is the only option :-(. Showing the benefits of integrating Kotlin in a large legacy project with this plugin will help me and our company.

  2. Pingback: Eclipse Weekly: Kotlin in Eclipse, Sirius in Neon und ob mit FEEP Vogelgezwitscher gemeint ist - JAXenter

Comments are closed.