rust/crates/rust-analyzer/src/main_loop
kjeremy 0619c67ac6 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
2020-04-24 10:11:57 -04:00
..
handlers.rs Support returning non-hierarchical symbols 2020-04-24 10:11:57 -04:00
pending_requests.rs Rename folder 2020-02-18 12:37:45 +01:00
subscriptions.rs Don't clone where you can copy 2020-04-02 21:07:05 +03:00