Search code examples
webstorm

How can I locate the currently open tab in the project?


In Webstorm I have a bunch of tabs open. How can I locate the file in the current tab within the Project tree?

enter image description here


Solution

  • there are 2 ways to do this:

    1. Navigate | Select In | Project View (Alt+f1)
    2. 'Scroll from source' button in Project View toolbar (the leftmost one)

    You can also enable 'Autoscroll from source' Project view option to automatically select the opened file in the Project view