Search code examples
xcodexcode4

Is there a keyboard shortcut for locating the current file in Project Navigator?


Is there a way to easily get the current file in the Editor pane selected in the Project Navigator without the need to expand all folders (if the file is buried deep down somewhere)?

I know you can see the location in your project using the "bread crumb" on top op the Editor pane, but I like a functionality similar to the one in Visual Studio...


Solution

  • Right click and choose Reveal in Project Navigator (may be under Navigate sub menu), or press + + J

    See Xcode 4 Keyboard Shortcuts for more, or better yet, use KeyCue.