在 Xcode 4.0 中的项目之间导航
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5582629/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Navigate Between Projects in Xcode 4.0
提问by Matt
I'm finally starting to get over my initial frustrations with Xcode 4.0 (why on earth did they think changing all of the keyboard shortcuts was a good idea).
我终于开始克服我最初对 Xcode 4.0 的挫败感(他们到底为什么认为更改所有键盘快捷键是个好主意)。
However, one simple task is beyond me right now... how do I switch between multiple open projects via the keyboard?
但是,我现在无法完成一项简单的任务……如何通过键盘在多个打开的项目之间切换?
For example, I have two different Xcode projects open, and the mac will put them both into the same Xcode application (unlike Windows where you can easily see multiple instances of the same application open). I want to quickly toggle back and forth between these projects without going to Window -> (choose the other project). Is there an easy keyboard shortcut for this? It seems that there used to be.
例如,我打开了两个不同的 Xcode 项目,Mac 会将它们放入同一个 Xcode 应用程序中(与 Windows 不同,您可以轻松地看到同一应用程序的多个实例打开)。我想在这些项目之间快速来回切换,而无需转到 Window ->(选择另一个项目)。有没有简单的键盘快捷键?好像曾经有过。
回答by Matt
To switch use following Keyboard shortcut Cmd+ `
要切换使用以下键盘快捷键 Cmd+`
回答by Ryan Murphy
Command + tilde("~") keys. Can be very useful when you have limited screen space.
命令 + 波浪号(“~”)键。当您的屏幕空间有限时非常有用。
回答by DonMizzi
Xcode 4.6 Italian Keyboard
Cmd+ Shift+ `
Xcode 4.6 意大利语键盘
Cmd+ Shift+`
回答by RikiRiocma
Furthermore, XCode windows must not be "maximized" (the icon with two arrows up on the right), otherwise the key shortcut has no effect.
此外,XCode 窗口不能被“最大化”(右侧有两个向上箭头的图标),否则快捷键无效。
回答by Angels
This works for me:
这对我有用:
Cmd+ Shift+ ′
Cmd+ Shift+′
回答by jox
Xcode 8.3.3 - German Keyboard
Xcode 8.3.3 - 德语键盘
Cmd+ Shift+ <
Cmd+ Shift+<
Update:
更新:
In fact there is a keybinding in Xcode that overides the system wide shortcut to switch between windows on german keyboards. The keybinding is Cmd+ <for Scheme > Edit Scheme.
事实上,Xcode 中有一个键绑定,它覆盖了系统范围内的快捷方式,可以在德语键盘上的窗口之间切换。键绑定是Cmd+<的方案>编辑方案。
When this shortcut is changed or removed, then the usual shortcuts to cycle through the open windows of an application will work as expected (i.e. Cmd+ <cycle forward, Cmd+ Shift+ <cycle backward).
当该快捷方式被改变或删除,然后按预期通过应用程序的打开的窗口通常的快捷方式循环将工作(即Cmd+<周期前进,Cmd+ Shift+<循环向后)。