I work in phpstorm 2016.2.1 and in chrome. When updating the project page in chrome, I switch to phpstorm and he tries to show me where the open file is and switches to the folder in which it lies. I work with Laravel and when switching to phpstorm see the following picture in the directory tree:

incomprehensible file navigation

This screen shows how after switching via alt+tab from chrome to phpstorm , it switched to the storage/framework/cache/c0 directory. Those. it shows me where the open page is stored in chrome, but it is taken from the cache and I don’t need this behavior from phpstorm at all. How to disable autonavigation to a folder after switching from chrome?

    1 answer 1

    I use the autoscrolling option from a variable file in the navigation. Those. In the file navigation window, to the right of the " Project Files " you can find the settings button with a drop-down menu.

    Disable the " Autoscroll from Source " option. This is how it looks from me:

    Autoscroll from Source - If this option is enabled, PhpStorm automatically navigates from the file in the editor to the corresponding node (file, class, field, method, etc.) in the project tool window.

    Also try to disable the tracking of cache files by excluding the folder:

    right-click on the cache folder (let's say storage/framework/cache )> select Mark Directory As > Excluded

    Useful links for your problem: