Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 994
Jeroen Avatar asked Mar 21 '23 11:03

Jeroen


1 Answers

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

like image 91
lena Avatar answered Apr 01 '23 21:04

lena