Xcode - 在打开的窗口中循环
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1415588/
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
Xcode - cycle through open windows
提问by Xetius
Is there a way to cycle through open windows. I quite often use this when I want to reference something in another file. On windows this would typically be Ctrl+ Tab, but I can't find a way to do this in Xcode on a Mac.
有没有办法在打开的窗口中循环。当我想引用另一个文件中的某些内容时,我经常使用它。在 Windows 上,这通常是Ctrl+ Tab,但我找不到在 Mac 上的 Xcode 中执行此操作的方法。
回答by Eimantas
On a Mac you can cycle through anyprogram's windows using Cmd+ `(backtick)
在 Mac 上,您可以使用+ (反引号)循环浏览任何程序的窗口Cmd`
On Xcode4 same command is achieved with Cmd+ Ctrl+ ↑/↓.
在 Xcode4 上,使用Cmd+ Ctrl+ ↑/实现相同的命令 ↓。
回答by 32bits
Basic MacOS stuff: ?` shift?`
基本的 MacOS 东西: ?` shift?`
See "system preferences>keyboard>keyboard shortcuts>Keyboard & text input" for all the juicy details.
有关所有详细信息,请参阅“系统首选项>键盘>键盘快捷键>键盘和文本输入”。
回答by qwerty_so
Open Preferences/Key Bindings and look at conflicts. You may find CMD+<to be in conflict. As mentioned by @Nikolai Ruhe CMD+</ >should cycle through ALL app windows.
打开首选项/键绑定并查看冲突。您可能会发现CMD+<存在冲突。正如@Nikolai Ruhe 所提到的CMD+ </>应该在所有应用程序窗口中循环。
Once again: All applications are equal. But some applications are more equal than others. - Steve Jobs
再次重申:所有申请都是平等的。但是有些应用程序比其他应用程序更平等。- 史蒂夫乔布斯
回答by Nikolai Ruhe
All Cocoa: ?< and ?> to cycle through application windows.
所有 Cocoa: ?< 和 ?> 循环浏览应用程序窗口。
回答by TonioGA
Cmd+ Tabswitches from one application to another. Cmd+ `switches from one window to another within an application.
Cmd+Tab从一个应用程序切换到另一个应用程序。 Cmd+`在应用程序中从一个窗口切换到另一个窗口。
回答by Naishta
In the latest Xcode 7.0.1 onwards, you can now use CMD + ~. I spent a while to find out how to toggle between Xcode View Controller and the apple Documentation help I get upon CMD clicking. This works !
在最新的 Xcode 7.0.1 以后,您现在可以使用 CMD + ~。我花了一段时间来了解如何在 Xcode View Controller 和我在单击 CMD 时获得的苹果文档帮助之间切换。这有效!
回答by Bastian Blankenburg
For people with German and possibly other non-US keyboards, the default key combination often do not work; for example, ?< doesn't work in many of Apple's own apps like Xcode or Numbers, Pages etc.
对于使用德语和其他非美式键盘的人来说,默认的组合键通常不起作用;例如,?< 在许多 Apple 自己的应用程序中不起作用,例如 Xcode 或 Numbers、Pages 等。
Even Apple's own suggestion of "Umschalttaste-Befehlstaste-Tilde (~)" here https://support.apple.com/de-de/HT201236(in German!) doesn't work! This is probably because the tilde ~ is available only via a key combination itself on German keyboards.
甚至 Apple 在https://support.apple.com/de-de/HT201236(德语!)中对“Umschalttaste-Befehlstaste-Tilde (~)”的建议也不起作用!这可能是因为波浪号 ~ 只能通过德语键盘上的组合键本身获得。
My solution was to rebind the "Move focus to next window" shortcut to ?^. This works in all apps for me so far.
我的解决方案是将“将焦点移到下一个窗口”快捷方式重新绑定到 ?^。到目前为止,这适用于我的所有应用程序。
回答by cheesysam
Although not exactly what you're looking for, F10(or Fn+ F10depending on your keyboard setup), will show you all windows belonging to the open program.
尽管不完全是您要查找的内容F10(或Fn+F10取决于您的键盘设置),但会向您显示属于打开程序的所有窗口。
回答by riik
On Xcode 6.4 CMD+SHIFT+<works to cycle through open windows :)
在Xcode的6.4 CMD+ SHIFT+<通过打开的窗口工程,循环:)