How to make Scroll From Source feature always enab

2019-01-16 21:58发布

问题:

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.

回答1:

You can check Autoscroll from source in setting for project pane (in the lastest version is probably different icon)



回答2:

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.