Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode shortcut for showing file structure

Is there a shortcut in Xcode 4 for showing the file structure, like this? I know you can click on the little breadcrumb to get to it but I'm surprised there is no obvious keyboard shortcut that I can find.

On that same note, is there a shortcut to jump to a method signature in the same file? There is a global one open quickly but often it is useful to limit the scope to current file.

enter image description here

like image 819
Tony Avatar asked Jan 04 '12 17:01

Tony


Video Answer


1 Answers

Set the shortcut for this on Xcode keybindings prefs, look for "Standard Editor -> Show Document items", the default shortcut is "Control + 6" but it is in conflict with some other shortcut in the the OS X preferences, you have to change the shortcut to some else and you are ready to go, Cheers.

like image 186
MarioGT Avatar answered Oct 05 '22 23:10

MarioGT