Xcode - cycle through open windows

依然范特西╮ 提交于 2019-12-03 18:30:31

问题


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.


回答1:


On a Mac you can cycle through any program's windows using Cmd + ` (backtick)

On Xcode4 same command is achieved with Cmd + Ctrl + /.




回答2:


Basic MacOS stuff: ⌘` shift⌘`

See "system preferences>keyboard>keyboard shortcuts>Keyboard & text input" for all the juicy details.




回答3:


All Cocoa: ⌘< and ⌘> to cycle through application windows.




回答4:


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.

Once again: All applications are equal. But some applications are more equal than others. - Steve Jobs




回答5:


Cmd + Tab switches from one application to another. Cmd + ` switches from one window to another within an application.




回答6:


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 !




回答7:


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.

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.

My solution was to rebind the "Move focus to next window" shortcut to ⌘^. This works in all apps for me so far.




回答8:


Although not exactly what you're looking for, F10 (or Fn + F10 depending on your keyboard setup), will show you all windows belonging to the open program.




回答9:


On Xcode 6.4 CMD+SHIFT+< works to cycle through open windows :)



来源:https://stackoverflow.com/questions/1415588/xcode-cycle-through-open-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!