Code completion strange behaviour

Now that I am running the awesome IDEA 12, I run into a weird issue with code completion. Here's a screenshot of what I mean:

I would expect the getText() method to be selected, but instead it chooses the camelhump candidates first. How do I disable this behaviour? Switching between "Sort lookup items lexicographically" does not change that.


PS: Thanks for a great product!

Comment actions Permalink

IntelliJ IDEA 12 added a new code completion feature where it checks the middle of possible values for a match. (See the Better Code Completion in IntelliJ IDEA 12 blog entry for more details.) That is what you are running into. This is useful in situations where you think the method is getLeftWheel but it is actually getWheelLeft.  You can not turn this feature off. There is a request asking for the ability to disable this feature: You may want to vote for it.

Comment actions Permalink

Added comment + vote. Thanks for pointing that one out.


Please sign in to leave a comment.