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

前端 未结 5 1954
花落未央
花落未央 2020-12-23 15:58

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 us

相关标签:
5条回答
  • 2020-12-23 16:18

    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.

    0 讨论(0)
  • 2020-12-23 16:18

    I perfer using BetterTouchTool to switch between tabs(include Chrome, Safari, Finder, Xcode, sublimeText![enter image description here][1] 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.

    0 讨论(0)
  • 2020-12-23 16:19

    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.

    0 讨论(0)
  • 2020-12-23 16:24

    Shortcuts are:

    • CMD + SHIFT + } - Select Next tab
    • CMD + SHIFT + { - Select Previous tab
    0 讨论(0)
  • 2020-12-23 16:26

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

    0 讨论(0)
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题