Code indexing and static analysis are not cheap. Which is what you usually want in an IDE.
Vscode and intelephense handled the same project without breaking a sweat.
I've had much better experience with IntelliJ. No matter the maven or gradle project I've thrown at it, it just works.