How to make Scroll From Source feature always enabled?
Intellij IdeaIntellij Idea Problem Overview
How to enable "Scroll from source" in IntelliJ IDEA so it is always on, meaning if you open any file it is automatically shown in Project view, likewise it is made in Eclipse?
There is a possibility to click the button in Project to find chosen file, but it is annoying to click it each time you open another file.
Intellij Idea Solutions
Solution 1 - Intellij Idea
You can check Autoscroll from source
in setting for project pane (in the lastest version is probably different icon)
Solution 2 - Intellij Idea
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.
Solution 3 - Intellij Idea
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.