How to make Scroll From Source feature always enabled?
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.
I'm using 2019.3 and I could not find the gear icon, or Autoscroll or Open Files in the Settings.
Here's what I did instead, after 30 minutes of searching.
- Right click on the Project
- Enable "Open Files with Single Click"
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.