How to highlight opened file in XCode 4 on the “Pr

2019-03-08 17:23发布

Since a project can have hundreds of files inside dozens of directories (filters) shown on the "Project Navigator" panel, sometimes it's getting difficult to seek the file which is currently opened in the Editor (for example, when I jump from file to file via "CMD + clicking", etc).

Is there a way to automatically select currently opened file on the "Project Navigator" panel? I.e., automatically expand the directories (filters) and select the file there as I would have clicked on it? Maybe there's a shortcut or something?

Thanks.

标签: xcode4
2条回答
你好瞎i
2楼-- · 2019-03-08 18:03

Right-click the file in the editor and choose Reveal in Project Navigator.

查看更多
贼婆χ
3楼-- · 2019-03-08 18:04

The keyboard shortcut is -shift-J

查看更多
登录 后发表回答