XCode Shortcuts I Can’t Live Without
I have finally jumped into the bandwagon of Objective-C development with XCode, out of curiousity to develop an iPhone application. And the first thing that I usually did when playing with a new IDE or editor is to learn the shorcuts.
And thanks to Colin Wheeler for the cheat-sheet:
http://cocoasamurai.blogspot.com/2008/02/complete-xcode-keyboard-shortcut-list.html
The cheat-sheet is comprehensive, and out of those, here are of ones that I find I can’t live without.
Alt+Shift+Up -> Switch between header and implementation files Alt+Shift+Left -> Switch to the previous opened file Alt+Shift+Right -> Switch to the next opened file Cmd+Double Click -> Jump to the file definition for the clicked class name Alt+Double Click -> Jump to documentation window for the clicked word Shift+Cmd+D -> Open file quickly Shift+Cmd+C -> Open Class Browser window Ctrl+? -> Open documentation window Ctrl+Alt+? -> Open research assitant window Ctrl+1 -> Show opened file dropdown Ctrl+2 -> Show methods drop down Option+Escape -> Edit completion list Ctrl+Period -> Move to next completion list Ctrl+/ -> Select next placeholder in auto completion brackets Cmd+/ -> Comment text
Strangely I couldn’t find the Delete Line and Duplicate Line shortcuts in XCode, miss the equivalent of ‘yy’ and ‘dd’ in vim or Ctrl+Shift+K and Ctrl+Shift+D in Textmate. Tried custom key bindings from TypeErrorStudios, but not working my MBP, let me know if it works on your end. Thanks.

Add Your Comment