How to stop IntelliJ IDEA from expanding the External Libraries using the Auto Rent from Source feature?

I use IntelliJ with Java and the "Autoscroll from Source" function is activated.

I like it when the IDE jumps to a class in the package list, but also extends External Likes, which makes the entire Project project pretty dirty.

Is there any way to stop IntelliJ from expanding external libraries?

+5
source share
1 answer

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

I did not find a suitable plugin.

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

+3
source

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


All Articles