The hack for this is to change the way you sort Eclipse sentences.
You can go to the Preferences menu and then go to the section for which you want to edit the sort. Then to the Editor and Content Assist . For example, for a Java editor, this would be Preferences > Java > Editor > Content Assist .
There you will see the Sorting and filtering section more or less in the middle of the window. Inside there is an option called Sort proposals , which you can change from by relevance to alphabetically . Save the closure.
With this, you will get a list of suggestions in alphabetical order, and element() will be in front of other methods, starting with element .
EDIT: Tested on Eclipse Luna running on Ubuntu 14.04 and it works. You will still get the code when writing ( but it will be supplemented with a shorter option available in the list of sentences. If you want to use a different method, you can continue to write a few letters and the shortest option will disappear from the sentences, because it does not correspond to what are you writing.
Ishar source share