Autoscroll from a source that does not work correctly in IntelliJ

I am using IntelliJ IDEA 14 Community Edition and I have "autoscroll from source" active in the project view.

In my project, I have directories:

/ src (contains all source .java files)

/ classes (contains all compiled .class files)

I expect autoscroll to scroll in the project view to the source file (.java file in the / src directory), which is currently active in the editor.

My problem is that sometimes the view does not scroll to the .java file, but to the .class file in the / classes directory. It seems random, and it is very annoying.

Is there a way to fix this problem or is it an IntelliJ error?

+4
source share

Source: https://habr.com/ru/post/1612750/


All Articles