Since 2020.1 version the option is called Always Select Opened File:

For the previous versions:
In the Project View there is Autoscroll from Source option when you click on the “gear” icon:

Since 2020.1 version the option is called Always Select Opened File:

For the previous versions:
In the Project View there is Autoscroll from Source option when you click on the “gear” icon:
