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

徘徊边缘 提交于 2019-12-03 02:52:21

问题


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?


回答1:


Shortcuts are:

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



回答2:


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.




回答3:


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.




回答4:


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.




回答5:


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



来源:https://stackoverflow.com/questions/6491023/what-is-the-way-to-quick-switch-between-tabs-in-xcode-4

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