aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-25 20:23:15 +0100
committerGitHub <[email protected]>2020-04-25 20:23:15 +0100
commit7021352dc2668c17fb5a05a3fed68c3da6656b97 (patch)
treeb29af7a79f8658c5c6674db4346db4fa3b092164 /crates/ra_hir_def/src
parent5671bacfa66a9d83daa1cc42f72ec8701412ccdc (diff)
parent0619c67ac6b2f503750058437ce0af08d17d1018 (diff)
parentb87b335e6859ead3baa7fde20e3ea2ac69f63d85 (diff)
parentf52e2f6840280ef1302604d90cd3b338a2e488cc (diff)
parent5f88df82a67d3d17bbead1179f82ad7261f68692 (diff)
Merge #4113 #4136 #4141 #4142
4113: Support returning non-hierarchical symbols r=matklad a=kjeremy 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 4136: add support for cfg feature attributes on expression #4063 r=matklad a=bnjjj close issue #4063 4141: Fix typo r=matklad a=Veetaha 4142: Remove unnecessary async from vscode language client creation r=matklad a=Veetaha Co-authored-by: kjeremy <[email protected]> Co-authored-by: Benjamin Coenen <[email protected]> Co-authored-by: veetaha <[email protected]>