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

clark

03/06/2021, 8:51 PM
Anybody know why only the
androidMain
and
androidTest
directories get treated like kotlin code in my KMM project? My
commonMain
doesn't get any autocomplete and can't find other packages I create inside of it UPDATE: Marking the
kotlin
directory within those directories made all of the intellisense features work.
t

Thomas

03/07/2021, 12:09 AM
Did you try a Gradle sync?
c

clark

03/07/2021, 4:44 PM
Yes, Gradle sync didn't do it. Marking the kotlin directories as source directories did the trick though.
a

Artyom Degtyarev [JB]

03/09/2021, 8:50 AM
Hello, @clark! There was a similar issue some time ago, please take a look: https://youtrack.jetbrains.com/issue/KT-43769
❤️ 1
c

clark

03/09/2021, 11:35 PM
Thanks @Artyom Degtyarev [JB]!