https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
a

Alfred Lopez

12/10/2020, 3:26 PM
@Vsevolod Ganin It happens to me too, but I"ve noticed that IntelliJ does know what you're coding based on the module and it will "code complete" appropriately. For example, if I'm editing a Kotlin file in commonMain and I have java.util.*, IntelliJ tells me it cannot find it, but if I'm editing a Kotlin file in jvmMain that has the same line, then it "finds it". It could be a real feature, a fluke, or I'm imagining it all. 🙂
v

Vsevolod Ganin

12/10/2020, 3:31 PM
I forgot to mention that dependencies from standard frameworks are resolved. So I can navigate to some platform.Foundation entities for example. Probably because they are all compiled and Kotlin Plugin knows how to deal with klibs in proximity
a

Alfred Lopez

12/10/2020, 3:35 PM
Not sure you can use this in Android Studio, but there is the idea plugin that will create/force the gradle dependencies in the External Libraries section of the IntelliJ project.
That seems to help
It's not perfect, though