是否有用于在 Xcode 中循环使用编译指示标记或方法的键盘快捷键? [英] Is there a keyboard shortcut for cycling through pragma marks or methods in Xcode?

查看:26
本文介绍了是否有用于在 Xcode 中循环使用编译指示标记或方法的键盘快捷键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常想在代码中的不同方法之间快速来回切换焦点.

Often I want to quickly switch my focus back-and-forth between different methods in my code.

是否有键盘快捷键可以这样做?

Is there is a keyboard shortcut to do so?

我可以做些什么来更快地到达/切换编译指示标记?

Is there anything I can do to more quickly get-to/switch-between pragma marks?

推荐答案

Ctrl + 6 这会将焦点放在文档项目列表上.然后你可以部分输入方法名称(它甚至可以巧妙地处理错别字),然后按下回车,你也可以在这里输入pragmamarks.

Ctrl + 6 this gives focus to the Document Items list. You can then type the method name partially (it even smartly handles typos), then press down and enter, you can also type pragma marks here.

Cmd + Shift + O 用于全局快速打开方法和文件.

Cmd + Shift + O for a global quick open of methods and files.

这篇关于是否有用于在 Xcode 中循环使用编译指示标记或方法的键盘快捷键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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