Middle-match Eclipse content support

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

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

I think Eclipse Luna has the same function ( based on this presentation ), but I cannot get it to work. Any help?

+5
source share
2 answers

This feature is provided by the Code Recommenders plugin. It ships with Eclipse Luna for Java SE, but for some reason it does not ship in the EE version. Of course, you can install it manually from the eclipse market.

To activate it, go to Window -> Preferences -> Code Recommenders -> Completions -> Check to enable intelligent code completion. You can also choose which type of terminations you are interested in. The exact function you are looking for is called "Subword Completion Processor" (and I can't live without it: D)

enter image description here

+5
source

I think the closest is the option "Show camel case matches" (configured in the settings in Java> Editor> Content Assist).

In this case, you must enter the first letter of each part of the name, so for 'createNamedQuery' you can enter 'cNQ'

+1
source

All Articles