XCode 7.3 beta - how to force strict search for co

2019-03-14 07:51发布

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

2条回答
相关推荐>>
2楼-- · 2019-03-14 08:30

When start to type write 2 or 3 character so xcode can interprete what you want in completion. use ctrl + space

查看更多
一夜七次
3楼-- · 2019-03-14 08:32

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

查看更多
登录 后发表回答