Search code examples
netbeansidephpstorm

PhpStorm "synchronize editor with views"


I recently switched from Netbeans to PhpStorm.

Only thing I'm missing and can't seem to find is the function Netbeans calls "Synchronize editor with views". This function highlights the file you have open in your editor tab in the file tree browser.

I find this very handy in projects with a lot of files such as a Drupal or Magento project, when switching between tabs. Makes it alot faster to find related files to the one you're editing.

The question is, obviously, does PhpStorm have it and where do I find it?


Solution

  • There are 2 options:

    Alt+F1 (Select target), choose 'Project view'

    or enable 'Autoscroll from source' option in the Project view

    See Locate current file in IntelliJ