如何从Xcode的代码完成中排除某些术语?(自动完成,内容辅助) [英] How can I exclude certain terms from Xcode's code completion? (auto complete, content assist)

查看:40
本文介绍了如何从Xcode的代码完成中排除某些术语?(自动完成,内容辅助)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

众所周知,Xcode的代码完成非常棒,同时又是必要的.但是有时也会很烦人……

As we all know Xcode's code completion is awesome and necessary at the same time. But sometimes it can be be quite annoying as well...

有什么方法可以修改可能的完成结果列表?

Is there any way that I can modify the list of possible completion results?

例如我一直在使用"CGSizeMake",但从不想使用最初建议的"CGSizeMakeWithDictionaryRepresentation".因此,我想排除后面的一个.另一个示例是无"与无".

E.g. I'm using "CGSizeMake" all the time, but never want to use "CGSizeMakeWithDictionaryRepresentation" that is suggested in the first place. So I would like to exclude the later one. Another example is "Nil" vs. "nil".

任何有关代码补全如何工作的信息,将不胜感激.

Any information regarding how the code completions works would be appreciated.

推荐答案

这与主题略有出入,但您可以尝试使用AppCode.AppCode具有更智能的自动完成功能.借助AppCode,您还可以创建某些关键字来自动完成.

This is slightly off topic, but you could try using AppCode. AppCode has a much more intelligent auto complete. With AppCode you can also create certain keywords for auto complete as well.

这篇关于如何从Xcode的代码完成中排除某些术语?(自动完成,内容辅助)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆