Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the way to quick-switch between tabs in Xcode 4

People also ask

How do you Shift between tabs quickly?

On Windows, use Ctrl-Tab to move to the next tab to the right and Ctrl-Shift-Tab to move to the next tab to the left.

How do I switch multiple tabs?

Ctrl+9: No matter how many tabs you have open, this will take you to the tab farthest from the left. Ctrl+Tab or Ctrl+Page Down: Switches to the next tab to the left. Ctrl+Shift+Tab or Ctrl+Page Up: Switches to the next tab to the right.


Shortcuts are:

  • CMD + SHIFT + } - Select Next tab
  • CMD + SHIFT + { - Select Previous tab

The default shortcuts are:

  • + SHIFT + { - Select Next Tab
  • + SHIFT + } - Select Previous Tab

But I prefer going to XCode -> Preferences -> Key bindings and changing them to:

  • CTRL + TAB - Select Next Tab
  • CTRL + SHIFT + TAB - Select Previous Tab

...so they work the same as in Chrome or Safari.


If the shortcuts don't work (because of language, for example), you can define custom shortcut:

  • XCode -> Preferences -> Key bindings

  • Make sure that "all" is selected

  • Define shortcuts for "Select Previous Tab" and "Select Next Tab"

I used cmd+pageup and cmd+pagedown, didn't generate any conflicts.


XCode Windows menu option shows it as + } or + { but I think it is a bug since + {/} is used for increase indent or decrease indent. The correct sequence is + shift + } or {.


I perfer using BetterTouchTool to switch between tabs(include Chrome, Safari, Finder, Xcode, sublimeText and so on).

BetterTouchTool is a free software.

Just set TipTap Left and TipTap Right to cmd+shift+{ and cmd+shift+}.

And than, you can use trackpads with tiptap to switch between taps.

Here is my configuration:

Hope you will like it.