-
I am also using ur method of having commonJvmAndroid sources for JVM and Android as shown in https://jeroenmols.com/blog/2021/03/17/share-code-kotlin-multiplatform/ But I am facing issues with IDE support, like: so was just curious if this was the case for you too, or some IDE do figure this correctly ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
even expect / actual doesnt get detected for both jvm & Android in Intellij when declared actual in commonJvmAndroid Only |
Beta Was this translation helpful? Give feedback.
-
This has definitely been a pain point for us in the past too. Everything would build fine, even though IntelliJ would show a bunch of red underlines and refuse to code-complete any definitions from the However, this has recently started working as expected for me! The latest |
Beta Was this translation helpful? Give feedback.
This has definitely been a pain point for us in the past too. Everything would build fine, even though IntelliJ would show a bunch of red underlines and refuse to code-complete any definitions from the
commonJvmAndroid
source set.However, this has recently started working as expected for me! The latest
master
branch of pbandk (which got recently updated to Kotlin 1.5) works great together with IntelliJ IDEA 2021.3 (build 213.5744.223 if that makes a difference).