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

IosXcodeXcode4TabsKeyboard Shortcuts

Ios Problem Overview


I have opened many tabs while working on project. (new feature in Xcode 4).

But for switching from one tab to other tab, the only way I've found to do this is to use the mouse. Is there any way to switch between different tabs using keyboard shortcuts?

Ios Solutions


Solution 1 - Ios

Shortcuts are:

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

Solution 2 - Ios

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.

Solution 3 - Ios

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.

Solution 4 - Ios

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 {.

Solution 5 - Ios

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSagar KothariView Question on Stackoverflow
Solution 1 - IosgsempeView Answer on Stackoverflow
Solution 2 - IosGrzegorz D.View Answer on Stackoverflow
Solution 3 - IosUserView Answer on Stackoverflow
Solution 4 - IosNewToIOSView Answer on Stackoverflow
Solution 5 - IosJZAUView Answer on Stackoverflow