跳转到方法实现的 Xcode 快捷方式?
Xcode 中是否有用于跳转到方法的实现的键盘快捷键?我知道命令+单击会跳转到定义,但我想跳转到实现方法,而不是定义。另外,我想使用键盘快捷键,而不涉及鼠标(包括单击)。
Is there a keyboard shortcut in Xcode for jumping to the implementation of a method? I am aware of the fact the command+click will jump to definition, but I want to jump to the implementation method, not the definition. Also, I want to use keyboard shortcuts, with no involvement of the mouse (including clicks).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
XCode 4.5 中“跳转到定义”的键盘快捷键:Control-Command-J
跳转到定义后的另一个有用的快捷键是 Control-Command-Left(它可以带您返回)。
Keyboard shortcut for 'jump to definition' in XCode 4.5: Control-Command-J
Another useful shortcut after jumping to definition is Control-Command-Left (which takes you back).
Command + 单击即可,如果您想要“仅键盘”快捷方式,您需要将其映射到首选项 -> 键绑定 -> 编辑 -> 查找 -> 跳转到定义
Command + click will work, If you want "keyboard only" shortcut you need to map it under Preferences->key bindings->Edit->Find->jump to definition
按住 Command 并单击您想要查看其实现的方法。
Hold Command and click on the method you want to see it's implementation.