Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 7.3 beta - how to force strict search for code autocomplete for Objective-C?

I'm running into an issue where XCode 7.3 autocomplete searches all possible constants using some kind of weird pattern matching algorithm. The result is that I practically have to spell the entire constant name before autocomplete allows me to press "enter" to select the suggestion.

How can I force XCode to do old, strict "begins with" autocomplete search algorithm?

For example, attempting to search for constant kEditTag, I would expect it to show up once I type kEd..., while currently I have to type keditta, to have the suggestion even show up in the autocomplete list, making it rather useless:

enter image description here

like image 787
Alex Stone Avatar asked Feb 23 '16 19:02

Alex Stone


1 Answers

Please go to XCode -> Preferences -> Text Editing and "Enable type-over completions" . This should do the trick

like image 74
Praveen Kumar Avatar answered Sep 23 '22 13:09

Praveen Kumar