Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keyboard shortcut to show/hide Document Outline in Interface Builder

I need to frequently hide and unhide navigators and inspectors to make room for Interface Builder and complex storyboards. I learned all show/hide shortcuts in Xcode for panes, but can't find any for showing and hiding Document Outline. Is there a way to achieve this on keyboard?

like image 906
Martin Koles Avatar asked Mar 02 '14 11:03

Martin Koles


People also ask

How do I hide an outline in Xcode?

You can find the command in Editor->Hide/Show Document Outline, or you can hit the little arrow in the bottom left corner of the IB.

How do I show an outline in Xcode?

If you do not see the Document Outline area in your Xcode workspace, choose Editor, Show Document Outline from the menu bar. You can also click the disclosure arrow in the lower-left corner of the Xcode Editor area.

How to Jump to a Line in Xcode?

Jump to Line ( ⌘ + L )


2 Answers

There is no defined keyboard shortcut to show/hide the document outline. But you can define new shortcuts for these actions.

Just open the preferences (cmd+,) and search for "Document Outline" in the "Key Bindings" page.

like image 104
Flovdis Avatar answered Sep 19 '22 17:09

Flovdis


Just to demonstrate the other solution how to setup the shortcut in System Preferences->Keyboard->Shortcuts.

enter image description here

like image 24
Martin Koles Avatar answered Sep 18 '22 17:09

Martin Koles