How to select an open file in Xcode 4 in the Project Navigator panel?

Since a project can contain hundreds of files inside dozens of directories (filters) displayed in the Project Navigator panel, it sometimes becomes difficult to search for the file that is currently open in the editor (for example, when I switch from file to file via "CMD + click" etc.).

Is there a way to automatically select the currently open file in the Project Navigator panel? Ie, automatically open directories (filters) and select the file there, how would I click on it? Maybe there is a shortcut or something else?

Thank.

+48
xcode4
May 26 '11 at 2:58
source share
2 answers

Right-click the file in the editor and select "Display" in the "Project Navigator".

+65
May 26 '11 at 12:56
source share

Keyboard shortcut ⌘ - shift - J

+88
Jun 29 '12 at 16:10
source share



All Articles