16

I'm using IntelliJ with Java and the "Always Select Opened File" function enabled.

I like when the IDE jumps to the class in the package list, but it will also expand the "External Libraries" making the whole "Project" view pretty messy.

Is there a way to stop IntelliJ from expanding External Libraries?

Mark Jeronimus
  • 9,278
  • 3
  • 37
  • 50
  • I'd like to know other side of this. How to enable autoscroll to external libraries? :) – AlikElzin-kilaka Oct 20 '16 at 13:36
  • http://stackoverflow.com/questions/40153641/how-to-enable-scroll-from-source-to-external-libraries-in-intellij-idea – AlikElzin-kilaka Oct 20 '16 at 13:36
  • Different flavor of the same IDE: https://youtrack.jetbrains.com/issue/PY-35189/.py-files-are-opened-under-External-Libraries-in-the-Project-view-instead-of-directly-in-Project – chb Jan 04 '23 at 20:35

2 Answers2

5

Same problem. Especially when you have a lot maven artifacts of your own.

Did not find any appropriate plugin.

Workaround: Switch in "Project Tool Window" from "Project View" to "Packages" and disable "Show Library Contents" (can be found where is "Autoscroll from Source" option located )

Sanoop Surendran
  • 3,484
  • 4
  • 28
  • 49
Andrew
  • 101
  • 1
  • 4
1

Switching to "Project Files" from "Project" helped me in PyCharm. Probably will work the same way in IntelliJ IDEA: enter image description here