diff options
author | Benjamin Coenen <[email protected]> | 2020-04-21 13:36:56 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-04-21 13:36:56 +0100 |
commit | b6a7be19d9df53e39fa9bc1779cc19b7b708e495 (patch) | |
tree | 3f8c526fbd9595e4eafb05c375d44833486a549e /crates/ra_ide/src | |
parent | 7f143b154e7c47b1f5bdc558bb0b5d1f2bf74f8d (diff) |
Improve autocompletion by looking on the type and name
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r-- | crates/ra_ide/src/completion/completion_item.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/ra_ide/src/completion/completion_item.rs b/crates/ra_ide/src/completion/completion_item.rs index 8b96b81db..e17586aa5 100644 --- a/crates/ra_ide/src/completion/completion_item.rs +++ b/crates/ra_ide/src/completion/completion_item.rs | |||
@@ -2,9 +2,7 @@ | |||
2 | 2 | ||
3 | use std::fmt; | 3 | use std::fmt; |
4 | 4 | ||
5 | use super::completion_context::CompletionContext; | 5 | use hir::Documentation; |
6 | use crate::call_info::call_info; | ||
7 | use hir::{Documentation, HirDisplay}; | ||
8 | use ra_syntax::TextRange; | 6 | use ra_syntax::TextRange; |
9 | use ra_text_edit::TextEdit; | 7 | use ra_text_edit::TextEdit; |
10 | 8 | ||