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...
Use cmd + shift + f for complete Xcode search.
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.
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.
Right click and choose Reveal in Project Navigator
or press ⇧ + ⌘ + J
See Xcode 4 Keyboard Shortcuts for more, or better yet, use KeyCue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With