76

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...

1 Answer 1

166

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.

Sign up to request clarification or add additional context in comments.

2 Comments

Don't know when this was added, but the Reveal in Project Navigator command is now available in the Navigate menu as well (if, for example, a Property List is open and the option isn't available in the menu for right click). Keyboard shortcut is identical
Is there as well a setting to just always show the current file in the project navigator? I don't understand why this isn't the default...

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.