Why can't IntelliJ code navigation, navigate to th...
# intellij
a
Why can't IntelliJ code navigation, navigate to the source instead of the decompiled java byte code when dealing with composite builds? I have a large kotlin multiplatform project. With seven gradle subprojects currently. I have migrated my builds from using buildSrc to composite builds. The project compiles just fine, I even get code completion and intellisense. I only have a problem with code navigation. It seems like intelliJ can't resolve the sources dir of my subprojects. Is this a known issue? Any work around?
z
a
Although they look similar, mine is slightly different. Coz If I use the buildSrc directory only ("No other composite builds")-[if I don't use
includeBuild(":subproject")
], Everything works, the problem just arises when I use composite builds
I narrowed this down to IntelliJ. This is a problem in intelliJ 2020.1.2, previous versions don't suffer from this at all
a
This sounds like https://youtrack.jetbrains.com/issue/KT-39522. Do you navigate from build.gradle.kts?