How to short-circuit Eclipse AutoComplete when "by relevance" Sorting is enabled?

Posted by JRtim on Super User See other posts from Super User or by JRtim
Published on 2012-08-30T15:28:19Z Indexed on 2012/08/30 15:40 UTC
Read the original article Hit count: 207

Filed under:
|

I know there's a number of autocomplete articles scattered around stack and eclipse relevant communities. I haven't seen a solution that I have been able to make work.

Essentially it goes like this... I like sorting by relevance (since it usually has a decent priority), but sometimes I want to short circuit the autocomplete without having to hit x 2.

If I have a class that has a couple methods like, getThis(), getThat, and get(), and eclipse picks up that I usually use getThis(), but every once in a while I want the get() method. So I type "Class" "period" "get(" -- whoops eclipse just filled in getThis().

When the sorting is alphabetically, this isn't an issue, but "by relevance" is a nice default. Just wondering if I'm missing the boat on something.

Obviously one solution is to increase the latency on the autocomplete popup, but get() might just be an example. There might a situation where the method I want is a few parameters and maybe more than 3 keystrokes.

Thank you.

© Super User or respective owner

Related posts about eclipse

Related posts about autocomplete