Skip to content

Commit 861077f

Browse files
committed
Log semantic token count for debugging
1 parent 0200d05 commit 861077f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

server/src/main/kotlin/org/javacs/kt/KotlinTextDocumentService.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,10 @@ class KotlinTextDocumentService(
233233
val uri = parseURI(params.textDocument.uri)
234234
val parsed = sp.parsedFile(uri)
235235

236-
SemanticTokens(semanticTokens(parsed))
236+
val tokens = semanticTokens(parsed)
237+
LOG.info("Found {} tokens", tokens.size)
238+
239+
SemanticTokens(tokens)
237240
}
238241
}
239242

0 commit comments

Comments
 (0)