Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

xcode4

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

like image 587
Niels R. Avatar asked Apr 27 '11 08:04

Niels R.


People also ask

How to find something on Xcode?

Use cmd + shift + f for complete Xcode search.

Where is the file located in Android Studio?

You can use the Scroll from Source button in the Project Toolbar in the left of Android Studio. Another solution is Alt + F1 + 1 . You can also read Locate current file in IntelliJ for more answers.

How do I go back in Xcode?

Xcode tracks your entire movement history as soon as you open or create a project. Any file you go to, any symbol you look up - it all is appended to the IDE's navigation stack. Use ⌃ + ⌘ + ← and ⌃ + ⌘ + → to go back and forth between the source code locations you visited.


1 Answers

Right click and choose Reveal in Project Navigator or press + + J

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

like image 56
Jano Avatar answered Sep 19 '22 18:09

Jano