Substring code completion in Eclipse JDK

As of yesterday yesterday in the Eclipse 4.6. integration build, we offer substring code completion by default in Eclipse JDK.

substring-code-completion

This brings this feature known from the IntelliJ IDE and the Eclipse Code Recommenders project to JDT users and will help to continue to enhance the Java Development Tools in Eclipse.

This feature was original developed within a Google Summer of Code project by Gábor Kövesdán with Noopur Gupta and myself as mentors. After the project finished, the JDT team polished this development quite a bit and activated it yesterday, including improve highlighting in the code proposal.

You find the latest and greatest integration build (I20160112-1800) on http://download.eclipse.org/eclipse/downloads/ if you want to try it out.

About Lars Vogel

Lars Vogel is the founder and CEO of the vogella GmbH and works as Eclipse and Android consultant, trainer and book author. He is a regular speaker at international conferences, He is the primary author of vogella.com. With more than one million visitors per month this website is one of the central sources for Java, Eclipse and Android programming information.
This entry was posted in Eclipse, Lars Vogel. Bookmark the permalink.

5 Responses to Substring code completion in Eclipse JDK

  1. Ned Twigg says:

    Just FYI, I downloaded the integration build to give it a go. The first time I invoked code completion, a dialog popped up, but disappeared before I could read it. I haven’t had any code-completion of any kind (old-style or new-style) since then. Doing a “ctrl+space” returns with “No proposals”. I’m reverting back to 4.5, but looking forward to the feature when it works :)

  2. John Uckele says:

    This looks fantastic! Any plans for (or implementations of) code completion when writing an identifier (another feature I believe IntelliJ already has)?

  3. Lars Vogel says:

    @Ned, works for me. If you still can reproduce, please open a bug for JDT.

    @John, not sure what you are talking about, can you open a bug report as feature request for JDT UI and cc me into the bug?

  4. Lukas Eder says:

    Isn’t this available in Mars 4.5.1 already? I was positively surprised by this (or a similar?) feature recently. Anyway, excellent job!

  5. Lars Vogel says:

    Lukas, depends on the package you are using. Code recommenders has a similiar feature (among others). This developments makes sustring code completion available in the JDT Core.

Comments are closed.