You can check Autoscroll from source
in setting for project pane (in the lastest version is probably different icon)
Unfortunately this setting must be ticked every time you open or create a new project.
If you would like this setting to persist between projects, you can use this plugin:
AutoScroll Save IntelliJ Plugin
Disclaimer: I am the plugin author.
From version 2019.3.1, the name of the options have been changed as below:
Autoscroll to Source -> Open Files with Single Click
Autoscroll from Source -> Always Select Opened File
The credit will go to this post. Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With