mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Add completion module tailored towards use trees
This commit is contained in:
parent
6940cca760
commit
661d721e20
12 changed files with 270 additions and 165 deletions
|
@ -153,6 +153,7 @@ pub fn completions(
|
|||
let mut acc = Completions::default();
|
||||
completions::attribute::complete_known_attribute_input(&mut acc, &ctx);
|
||||
completions::attribute::complete_attribute(&mut acc, &ctx);
|
||||
completions::use_::complete_use_tree(&mut acc, &ctx);
|
||||
completions::fn_param::complete_fn_param(&mut acc, &ctx);
|
||||
completions::keyword::complete_expr_keyword(&mut acc, &ctx);
|
||||
completions::snippet::complete_expr_snippet(&mut acc, &ctx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue