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.
2 parents 2b678f1 + 23e655e commit b08f223Copy full SHA for b08f223
server/src/main/kotlin/org/javacs/kt/CompiledFile.kt
@@ -7,6 +7,7 @@ import org.javacs.kt.position.changedRegion
7
import org.javacs.kt.position.location
8
import org.javacs.kt.position.position
9
import org.javacs.kt.position.range
10
+import org.javacs.kt.position.toURIString
11
import org.javacs.kt.util.findParent
12
import org.javacs.kt.util.nullResult
13
import org.javacs.kt.util.toPath
@@ -214,7 +215,7 @@ class CompiledFile(
214
215
216
return declaration?.let {
217
Pair(it,
- Location(it.containingFile.name,
218
+ Location(it.containingFile.toURIString(),
219
range(content, it.nameIdentifier?.textRange ?: return null)))
220
}
221
0 commit comments