Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Eclipse 中,您可以转到 Preferences > Java > Editor > Content Assist 并选择使用最佳猜测而不是参数名称自动填充参数。Xcode 中是否有类似的偏好?
Xcode 将自动尝试为您自动填充代码。例如,如果您正在编写带有 NSString 参数的东西,当您开始输入字母时,它将搜索可用的字符串。所以接受它,只需点击<return>。
<return>
但是,如果您的意思是您希望自动插入的代码不显示doThis:<NSString*> andThat:<NSString*>,而是尝试使用可能的 NSStrings 自动填充那些,那么不。Xcode 没有偏好。
doThis:<NSString*>
andThat:<NSString*>