Code Insight for Kotlin native project w/ gradle not working

Answered

I am writing a multi-module kotlin native application that uses gradle.
Building with gradle works fine, but code insight features, code completion, suggestions, import suggestions, are not working at all. 

If I manually import a class, that is from a library included as a gradle dependency, and hover my mouse over it says "cannot find declaration to go to". 

 

Is there any way to get code insight to work?

0
3 comments

Hi!

Gradle support in Kotlin/Native plugin will be announced in the nearest future. Stay tuned! https://blog.jetbrains.com/kotlin

1

@Maria I realize that Gradle support was announced for the konan plugin to enable code insight... But is there anytime timeline for supporting the newer native plugin 'kotlin-platform-native'  or the other new multiplatform gradle plugin?

 

0

It's going to be shipped eventually, no ETA at the moment.

0

Please sign in to leave a comment.