在 Xcode 中是否有在窗口之间切换的快捷方式?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10506040/
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
Is there a shortcut to switch between windows in Xcode?
提问by Rob W
I know that this is probably going to get downvoted, but I do a lot of work on two projects at the same time and I was wondering if there was a keyboard shortcut, or a way to assign one in order switch between windows. This is currently done by going to the Window menu title and scrolling down, but I'm a shortcut man at heart! I've tried going in to preferences, but it seems to be the only one you can't assign!
我知道这可能会被否决,但我同时在两个项目上做了很多工作,我想知道是否有键盘快捷键,或者是否有一种方法可以在窗口之间按顺序切换。目前这是通过转到“窗口”菜单标题并向下滚动来完成的,但我本质上是一个捷径人!我试过进入偏好,但它似乎是唯一一个你不能分配的!
采纳答案by rdmacken
I guess this has changed recently (I'm on XCode 6.1), but for anyone looking in it's now CMD+ ~. See keyboard shortcut to switch project windows in xcode.
我想这最近发生了变化(我使用的是 XCode 6.1),但对于任何查看它的人来说,现在都是CMD+ ~。请参阅在 xcode 中切换项目窗口的键盘快捷键。
回答by Manlio
I had the same problem some time ago.
I solved this way: go in System Preferences of your Mac and choose Keyboard -> Shortcuts & Keyboard. There you find "Move focus to the next window" with a default shortcut.
前段时间我遇到了同样的问题。
我是这样解决的:进入 Mac 的“系统偏好设置”并选择“键盘”->“快捷方式和键盘”。在那里您可以找到带有默认快捷方式的“将焦点移到下一个窗口”。
In Xcode it will be this shortcut in conflict:
在 Xcode 中,这将是冲突的快捷方式:
However, that shortcut is in conflict with Xcode, so you just need to modify either the Xcode or the system one :)
但是,该快捷方式与 Xcode 冲突,因此您只需要修改 Xcode 或系统一:)
回答by Guru
To switch between projects, use COMMAND + ~ (tilde)
要在项目之间切换,请使用 COMMAND + ~(波浪号)
回答by Alex Kolovatov
回答by zayats
You can use ?+{and ?+}as shortcuts.
您可以使用?+{和?+}作为快捷方式。