Auto complete in Xcode4 is bad at guessing what I want

Originator:craig.hockenberry
Number:rdar://10069468 Date Originated:
Status:Open Resolved:
Product:Developer Tools Product Version:4.0.2
Classification:Enhancement Reproducible:Always
 
Xcode 4's code completion is generally a great addition (I used Xcode 3 the other day and really missed it.)

But, I find that I constantly get "autorepeat" as a suggestion when I type "auto". In nearly all cases, I want "autorelease" instead.

The same is true with "NSStr": I use NSString A LOT more than an NSStream.

Comments

Good examples… some times the completion seems very smart, but other times it seems very dumb. Do we need to be more patient so that it learns which symbols we use frequently?

I don't think Xcode "learn" anything… Just guessing the same way every time...

By guillaume.campagna at Sept. 8, 2011, 6:40 p.m. (reply...)

I agree.. need some kind of relevance score for matches.

By huckncatch at Sept. 3, 2011, 1:43 a.m. (reply...)

I use NSDate way more frequently than NSData.

By jaredsinclair.rn at Sept. 3, 2011, 12:51 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!