From 6d404ec54bab00d9f86c8d69a70dd94e5ab83434 Mon Sep 17 00:00:00 2001 From: Jean Pierre Date: Mon, 19 Apr 2021 20:26:36 -0500 Subject: feat(lsp): Implement textDocument/semanticTokens/full (#10233) Co-authored-by: Kitson Kelly --- cli/tsc/99_main_compiler.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cli/tsc/99_main_compiler.js') diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index ad661e087..73bab249e 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -660,6 +660,16 @@ delete Object.prototype.__proto__; ), ); } + case "getEncodedSemanticClassifications": { + return respond( + id, + languageService.getEncodedSemanticClassifications( + request.specifier, + request.span, + ts.SemanticClassificationFormat.TwentyTwenty, + ), + ); + } case "getImplementation": { return respond( id, -- cgit v1.2.3