Skip to content

[feature request] Support extracted version of source codeΒ #100

@Alacho2

Description

@Alacho2

Currently, when issuing a go-to-definition in editors such as Helix, the kotlin-lsp returns a jar file path which is then strung together with an internal path in the archive with the !. Editors like Helix do not support this format, arguing that it is a non-standard feature.

Log from helix: 2025-10-09T14:47:57.111 helix_term::commands::lsp [WARN] discarding invalid or unsupported URI: unsupported scheme 'jar' in URL jar:///PATH/TO/GRADLE/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.2.0/a2596f4aca441c6ba0ad915501c2bfa2e3c51c0b/kotlin-stdlib-2.2.0-sources.jar!/jvmMain/kotlin/io/Console.kt

Therefore, I am requesting an implementation where the source code is extracted, or that Kotlin-LSP could support pointing to a file path where an extracted version of the source code is located for go-to-definition.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions