开发者

Does Xcode have a navigate to file/class shortcut?

开发者 https://www.devze.com 2023-02-02 23:32 出处:网络
I want something like in textmat开发者_如何学JAVAe where I can quickly navigate to a file or classCommand-Shift-O displays the \"Quick Open\" Window.The \'Quick Open\' shortcut was changed to Command-

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

0

精彩评论

暂无评论...
验证码 换一张
取 消