You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, definitions don't work for symbols in the JDK and the Kotlin standard library (not even through decompiling).
The kotlin standard library jars are included as any other jars in the classpath, but the compiler has the descriptors with the source set to NO_SOURCE, which leads to it not being able to find the files.
Supporting this would be cool. Supporting source jars for the JDK might also require some additional work, since I'm not sure maven will give us these through the sources goal.
The text was updated successfully, but these errors were encountered:
Note that JDK symbol lookup has already shipped a while ago in #339, but I'll leave this open to track progress on support for definitions in the Kotlin standard library.
At the moment, definitions don't work for symbols in the JDK and the Kotlin standard library (not even through decompiling).
The kotlin standard library jars are included as any other jars in the classpath, but the compiler has the descriptors with the source set to
NO_SOURCE
, which leads to it not being able to find the files.For the symbols in the JDK, it never even gets that far.
BindingContext.getSliceContents
returns an empty list here: https://github.com/fwcd/kotlin-language-server/blob/main/server/src/main/kotlin/org/javacs/kt/CompiledFile.kt#L67Supporting this would be cool. Supporting source jars for the JDK might also require some additional work, since I'm not sure maven will give us these through the sources goal.
The text was updated successfully, but these errors were encountered: