aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src
diff options
context:
space:
mode:
authorBenjamin Coenen <[email protected]>2020-04-21 13:36:56 +0100
committerBenjamin Coenen <[email protected]>2020-04-21 13:36:56 +0100
commitb6a7be19d9df53e39fa9bc1779cc19b7b708e495 (patch)
tree3f8c526fbd9595e4eafb05c375d44833486a549e /crates/ra_ide/src
parent7f143b154e7c47b1f5bdc558bb0b5d1f2bf74f8d (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.rs4
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
3use std::fmt; 3use std::fmt;
4 4
5use super::completion_context::CompletionContext; 5use hir::Documentation;
6use crate::call_info::call_info;
7use hir::{Documentation, HirDisplay};
8use ra_syntax::TextRange; 6use ra_syntax::TextRange;
9use ra_text_edit::TextEdit; 7use ra_text_edit::TextEdit;
10 8