diff options
author | kjeremy <[email protected]> | 2020-04-24 15:11:57 +0100 |
---|---|---|
committer | kjeremy <[email protected]> | 2020-04-24 15:11:57 +0100 |
commit | 0619c67ac6b2f503750058437ce0af08d17d1018 (patch) | |
tree | 8d3a9545087bce774d5cbec4216512c585c8eeb4 /.vscode/tasks.json | |
parent | ae1f77e5e9aef59aed9cd5a146114e37a74e3316 (diff) |
Support returning non-hierarchical symbols
If `hierarchicalDocumentSymbolSupport` is not true in the client capabilites
then it does not support the `DocumentSymbol[]` return type from the
`textDocument/documentSymbol` request and we must fall back to `SymbolInformation[]`.
This is one of the few requests that use the client capabilities to
differentiate between return types and could cause problems for clients.
See https://github.com/microsoft/language-server-protocol/pull/538#issuecomment-442510767 for more context.
Found while looking at #144
Diffstat (limited to '.vscode/tasks.json')
0 files changed, 0 insertions, 0 deletions