Does Xcode have a navigate to file/class shortcut?
I want something like in textmat开发者_如何学JAVAe where I can quickly navigate to a file or class
Command-Shift-O displays the "Quick Open" Window.
The 'Quick Open' shortcut was changed to Command-Shift-o (that's the letter o and not zero) in XCode 4
I don’t use TextMate, but maybe this is what you want: File -> Open Quickly… (or shift-command-D). Another useful shortcut is View -> Switch to Header/Source File (or option-command-up arrow) to switch between header file (.h) and source file (.m).
You can Cmd+Double click on an item to navigate there. Also, you can assign shortcut for either menu Edit->Find->Jump to Definition or Jump to Selection, but the behavior there is not accurate.
For anyone finding this question years after it was asked, you can jump to a file by having your cursor on the class name and typing
Cmd+^+J
精彩评论