views:

799

answers:

5

What is your favorite XCode keyboard shortcut? I am a huge believer in using the keyboard as much as possible (its much faster that way), and I was hoping others could share what they've found to be the most useful.

One shortcut per answer please.

+4  A: 

Command Option Up

Darren
+2  A: 

Re-indent. It's in Edit > Format > Re-Indent and there's no shortcut by default (I use Command+Shift+L). It's a godsend.

jbrennan
There's also "Indent Selection", Control I.
Darren
+3  A: 

Cmd-Shift-D opens the "Open quickly" dialog, where you can quickly find and open files that contain the text you enter.

Ludvig A Norin
+1  A: 

Key Bindings to XCode Actions

Create your own keyboard shortcuts using the Text Key Bindings tab of the Key Bindings preference pane. A time-saver all its own. Just lookup your favourite actions and add/edit shortcuts!

Another thread you may find useful is here.

Old McStopher
+1  A: 

I find a cheat sheet next to the computer is the best way to pick up useful shortcuts. Cocoa Samurai has a good one.

Jonathan Moffatt