The WSL2 support is constantly being updated, I remember recording a video on the introduction of its support back in about 2020. If you do have specific issues, I would raise them in the issue tracker, because the jetbrains developers aren't necessarily using the
IDE the same way you are:
https://youtrack.jetbrains.com/issues/IDEA
We don't cover the data science tools in the book, we focused on the fundamental functionality, like writing, reading, running and debugging code, with pointers on how to configure your IDE. The code samples are in Java, but they should still be relevant for other developers using other IntelliJ-based IDEs