We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 323e6f0 commit 647a2beCopy full SHA for 647a2be
server/src/main/kotlin/org/javacs/kt/definition/GoToDefinition.kt
@@ -63,7 +63,8 @@ fun goToDefinition(
63
// since the client has not opted into
64
// or does not support KLS URIs
65
val tmpFile = cachedTempFiles[klsSourceURI] ?: run {
66
- val (name, extension) = klsSourceURI.fileName.partitionAroundLast(".")
+ val (name, rest) = klsSourceURI.fileName.partitionAroundLast(".")
67
+ val extension = rest.split("?")[0]
68
tempDir.createTempFile(name, extension)
69
.also {
70
it.toFile().writeText(content)
0 commit comments