XCode 7.3 Beta-如何强制严格搜索Objective-C的代码自动完成功能? [英] XCode 7.3 beta - how to force strict search for code autocomplete for Objective-C?
问题描述
我遇到了一个问题,其中XCode 7.3使用某种奇怪的模式匹配算法自动完成搜索所有可能的常量.结果是,在自动完成功能允许我按输入"选择建议之前,我实际上必须拼写整个常量名称.
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.
如何强制XCode执行旧的,严格的开始于"自动完成搜索算法?
例如,尝试搜索常量kEditTag
,我希望一旦输入kEd...
就会显示它,而目前我必须键入keditta
,甚至可以在自动完成列表中显示建议,使其变得毫无用处:
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:
推荐答案
请转到XCode->首选项->文本编辑和启用键入完成".这应该可以解决问题
Please go to XCode -> Preferences -> Text Editing and "Enable type-over completions" . This should do the trick
这篇关于XCode 7.3 Beta-如何强制严格搜索Objective-C的代码自动完成功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!