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:

codecompletion1.png
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.

Cheers!

PS: Thanks for a great product!

2 comments
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: http://youtrack.jetbrains.com/issue/IDEABKL-6495 You may want to vote for it.

0
Comment actions Permalink

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

0

Please sign in to leave a comment.