Select file in tree?

If I have a file open or in a search result, I'm unable to find a way to select that file in the source tree on the left panel (the Project tab). In NetBeans I can right-click a file tab and select find in source to select it in the file tree, but I can't figure out how to do it anywhere in PHPStorm and it takes me more time to select the file which also opens any folders it's in which is highly convenient especially if I need to see files next to that file.

1 comment
Comment actions Permalink

Hi there,

Few ways:

1) Navigate | Select in ... | Project View (Alt+F1, 1)

2) Activate "Autoscroll from Source" option in Project View panel (under Cog icon)


Please sign in to leave a comment.