Search code examples
javaeclipseintellij-ideaeclipse-luna

Eclipse content assist with middle letters match


Eclipse gives suggestions that starts with what I type: enter image description here

But IntelliJ IDEA gives suggestions that has (in the middle or at the beginning) what I type: enter image description here

I guess Eclipse Luna has the same feature (based on this presentation), but I cannot make it work. Any help?


Solution

  • This functionality is provided by the Code Recommenders plugin. It comes with the Eclipse Luna for Java SE, but for some reason it is not bundled in the EE version. Of course you can install it manually from the eclipse marketplace.

    To activate it go to Window -> Preferences -> Code Recommenders -> Completions -> Check enable intelligent code completion. You can also select in which type of completions you are interested in. The exact feature you are looking for is called "Subwords completion processor" (and I cannot live without it :D)

    enter image description here