Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a shortcut to switch between windows in Xcode?

Tags:

xcode

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!

like image 707
Rob W Avatar asked May 08 '12 20:05

Rob W


People also ask

How do I quickly switch between windows on a Mac?

Quickly switch between app windowsSwitch to the previous app: Press Command-Tab. Scroll through all open apps: Press and hold the Command key, press the Tab key, then press the Left or Right arrow key until you get to the app you want. Release the Command key.

How do you toggle between windows quickly?

You can use Flip to switch between open windows. To do this, press and hold the Alt key on your keyboard, then press the Tab key. Continue pressing the Tab key until the desired window is selected.


2 Answers

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.

like image 175
mackenziesoftware Avatar answered Sep 22 '22 04:09

mackenziesoftware


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.

enter image description here

In Xcode it will be this shortcut in conflict:

enter image description here

However, that shortcut is in conflict with Xcode, so you just need to modify either the Xcode or the system one :)

like image 20
Manlio Avatar answered Sep 20 '22 04:09

Manlio