diff options
author | Jean Pierre <jeanp413@hotmail.com> | 2021-04-19 20:26:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 11:26:36 +1000 |
commit | 6d404ec54bab00d9f86c8d69a70dd94e5ab83434 (patch) | |
tree | 5c1d99cc17da1134b9fb728ff8e9689e00a1694c /cli/tsc/99_main_compiler.js | |
parent | b6203cb4657f8269bf80b135b3c49fb9304895c1 (diff) |
feat(lsp): Implement textDocument/semanticTokens/full (#10233)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'cli/tsc/99_main_compiler.js')
-rw-r--r-- | cli/tsc/99_main_compiler.js | 10 |
1 files changed, 10 insertions, 0 deletions
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, |