rust/crates/ra_hir_def/src
bors[bot] 7021352dc2
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 <kjeremy@gmail.com>
Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Co-authored-by: veetaha <veetaha2@gmail.com>
2020-04-25 19:23:15 +00:00
..
body add support for cfg feature attributes on expression #4063 2020-04-25 15:48:04 +02:00
nameres Record definitions in extern blocks 2020-04-23 23:36:23 +02:00
path Implement inline associated type bounds 2020-04-13 15:07:39 +02:00
adt.rs Rename StructField -> Field 2020-04-25 14:23:34 +02:00
attr.rs Prefer core/alloc paths on #![no_std] 2020-04-25 16:27:34 +02:00
body.rs Fix typo 2020-04-25 20:49:51 +03:00
builtin_type.rs find_path: Builtins are always in scope 2020-04-18 12:06:22 +02:00
child_by_source.rs Rename StructField -> Field 2020-04-25 14:23:34 +02:00
data.rs Merge #3966 #3968 2020-04-15 09:29:36 +00:00
db.rs Cleanup memory usage stats 2020-03-25 19:35:46 +01:00
diagnostics.rs Simplify Diagnostic structure 2020-04-17 13:56:42 +02:00
docs.rs Rename StructField -> Field 2020-04-25 14:23:34 +02:00
dyn_map.rs DynMap 2019-12-06 21:28:05 +01:00
expr.rs handle tuple patterns with ellipsis 2020-04-13 08:19:19 -07:00
find_path.rs Prefer core/alloc paths on #![no_std] 2020-04-25 16:27:34 +02:00
generics.rs Be consistent about token accesors 2020-04-09 18:48:13 +02:00
item_scope.rs fix typo of visibility_of 2020-03-26 00:11:38 +08:00
keys.rs Rename StructField -> Field 2020-04-25 14:23:34 +02:00
lang_item.rs profile queries 2020-04-10 20:26:47 +02:00
lib.rs Rename StructField -> Field 2020-04-25 14:23:34 +02:00
marks.rs Add the tests 2020-01-28 18:03:24 +02:00
nameres.rs Simplify Diagnostic structure 2020-04-17 13:56:42 +02:00
path.rs Implement inline associated type bounds 2020-04-13 15:07:39 +02:00
per_ns.rs Rename ResolvedVisibility -> Visibility 2019-12-26 16:23:40 +01:00
resolver.rs Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
src.rs Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
test_db.rs Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
trace.rs Simplify Arena to use a generic index 2020-03-19 18:46:30 +01:00
type_ref.rs Implement inline associated type bounds 2020-04-13 15:07:39 +02:00
visibility.rs Provide more complete AST accessors to support usage in rustc 2020-04-09 11:50:37 +02:00