rust/crates/ide_completion/src/completions
bors[bot] 48cd733c9e
Merge #10956 #10986
10956: minor: Bump deps r=Veykril a=lnicola

bors r+

10986: fix: Fix lint completions not working for unclosed attributes r=Veykril a=Veykril

Fixes #10682
Uses keywords and nested `TokenTree`s as a heuristic to figure out when to stop parsing in case the attribute is unclosed which should work pretty well as attributes are usually followed by either of those.
bors r+

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-11 14:58:07 +00:00
..
attribute Introduce SymbolKind::Derive 2021-12-04 18:18:09 +01:00
postfix Fix postfix completions panicking 2021-10-25 15:22:29 +02:00
attribute.rs fix: Fix lint completions not working for unclosed attributes 2021-12-11 15:55:25 +01:00
dot.rs minor: Simplify 2021-11-16 19:28:32 +01:00
flyimport.rs Show case-insensitive exact matches instead of fuzzy flyimport for short paths 2021-12-11 14:47:11 +01:00
fn_param.rs Replace some String usages with SmolStr in completions 2021-11-05 12:30:39 +01:00
keyword.rs internal: completion: split out more PathKinds from ImmediateLocation 2021-12-07 22:49:42 +01:00
lifetime.rs Replace more Name::to_string usages with Name::to_smol_str 2021-11-04 18:12:05 +01:00
mod_.rs Replace more Name::to_string usages with Name::to_smol_str 2021-11-04 18:12:05 +01:00
pattern.rs Show enum completions for single variant enums in irrefutable patterns 2021-12-10 18:25:54 +01:00
postfix.rs Add Semantics::original_ast_node for upmapping nodes out of macro files 2021-11-03 21:12:36 +01:00
qualified_path.rs internal: completion: split out more PathKinds from ImmediateLocation 2021-12-07 22:49:42 +01:00
record.rs Add support for qualified struct names 2021-11-23 10:57:29 -06:00
snippet.rs Remove possible multiline details in completions 2021-11-24 16:08:11 +01:00
trait_impl.rs Replace some String usages with SmolStr in completions 2021-11-05 12:30:39 +01:00
unqualified_path.rs internal: completion: split out more PathKinds from ImmediateLocation 2021-12-07 22:49:42 +01:00