rust/crates/rust-analyzer
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
..
src Support returning non-hierarchical symbols 2020-04-24 10:11:57 -04:00
tests/heavy_tests Cleanup proc_macro config 2020-04-23 18:55:26 +02:00
build.rs Remove unused placeholder 2020-02-21 18:33:45 +08:00
Cargo.toml Add proc-macro cli command for rust-analyzer 2020-04-16 21:13:57 +08:00