Reflection support/auto completion not working in kotlin

Answered

Hello all

In Java IntelliJ has awesome support when working with reflection. One example can be seen below:

As you can see while typing it suggest packages and classes. Also methods like getDeclaredMethod or getDeclaredField suggest names and parameters etc.

The same thing does not work when using kotlin which is really inconvenient:

Is there a way to enable this?

BR
Cromon

0
3 comments

Please report Kotlin specific issues at https://youtrack.jetbrains.com/issues/KT.

Please use https://discuss.kotlinlang.org/ for any questions related to Kotlin.

0
Avatar
Permanently deleted user

Hello Serge

I am sorry but I disagree, this has nothing to do with Kotlin. Its an IDE feature in Java that it should also offer for kotlin. I will definitely just link it to both sites you mentioned but I think this right here is the correct place or the IntelliJ bug tracker.

BR
Cromon

0

Please let us decide what is the proper place for such reports. Kotlin functionality in IntelliJ IDEA IDE also belongs to https://youtrack.jetbrains.com/issues/KT issue tracker, not IntelliJ IDEA tracker/forum.

0

Please sign in to leave a comment.