diff options
author | Jean Pierre <jeanp413@hotmail.com> | 2021-04-02 01:21:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 17:21:07 +1100 |
commit | 035f7b0ca037aaff37428d339b5f4abc796320fc (patch) | |
tree | 835ba72b435a64838cbc36e1343904566de67789 /cli/tsc/99_main_compiler.js | |
parent | f50385b2a5c9bed99709522edc9ab759ce5f07ba (diff) |
feat(lsp): implement textDocument/foldingRange (#9900)
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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index 8aba3dca9..9396ba4ad 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -675,6 +675,14 @@ delete Object.prototype.__proto__; languageService.getNavigationTree(request.specifier), ); } + case "getOutliningSpans": { + return respond( + id, + languageService.getOutliningSpans( + request.specifier, + ), + ); + } case "getQuickInfo": { return respond( id, |