samdeane/Xcode-Suggestions — Issue #3: Auto-complete Suggestions List
Author: danielctull
Created: 2012-03-02 12:41:19+00:00
State: open

When displaying a list of method/property suggestions for autocompletion, these should be weighted with the more likely symbols at the top. For example, mogenerator adds a entityInManagedObjectContext: method to managed objects. I have a core data stack object, which has managedObjectContext and managedObjectModel properties. When calling this method I shouldn't need to type far:

[Event entityInManagedObjectContext:coreDataStack.man…

before it should show the list and highlight managedObjectContext. It should show this above the model property because it is the type which entityInManagedObjectContext: expects.

In reality, every time it is the model property which is highlighted, and I can't for the life of me work out why. It's not even doing it based on alphabetical ordering.