diff options
author | Aleksey Kladov <[email protected]> | 2020-04-07 12:19:57 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-07 12:19:57 +0100 |
commit | a5ffe53c9d185d790388760dfe09f265e352b6bf (patch) | |
tree | 36f5c3b2e7c52f6ac9e4aebd7b13e2ac05730d70 /crates/ra_ide | |
parent | 79b48a9e776b8fef31f2ea597258ee2c36566bb7 (diff) |
Better naming for path completion
Diffstat (limited to 'crates/ra_ide')
-rw-r--r-- | crates/ra_ide/src/completion.rs | 8 | ||||
-rw-r--r-- | crates/ra_ide/src/completion/complete_qualified_path.rs (renamed from crates/ra_ide/src/completion/complete_path.rs) | 0 | ||||
-rw-r--r-- | crates/ra_ide/src/completion/complete_unqualified_path.rs (renamed from crates/ra_ide/src/completion/complete_scope.rs) | 0 |
3 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_ide/src/completion.rs b/crates/ra_ide/src/completion.rs index 93157bbba..c9ba1d4ee 100644 --- a/crates/ra_ide/src/completion.rs +++ b/crates/ra_ide/src/completion.rs | |||
@@ -10,8 +10,8 @@ mod complete_pattern; | |||
10 | mod complete_fn_param; | 10 | mod complete_fn_param; |
11 | mod complete_keyword; | 11 | mod complete_keyword; |
12 | mod complete_snippet; | 12 | mod complete_snippet; |
13 | mod complete_path; | 13 | mod complete_qualified_path; |
14 | mod complete_scope; | 14 | mod complete_unqualified_path; |
15 | mod complete_postfix; | 15 | mod complete_postfix; |
16 | mod complete_macro_in_item_position; | 16 | mod complete_macro_in_item_position; |
17 | mod complete_trait_impl; | 17 | mod complete_trait_impl; |
@@ -85,8 +85,8 @@ pub(crate) fn completions( | |||
85 | complete_keyword::complete_use_tree_keyword(&mut acc, &ctx); | 85 | complete_keyword::complete_use_tree_keyword(&mut acc, &ctx); |
86 | complete_snippet::complete_expr_snippet(&mut acc, &ctx); | 86 | complete_snippet::complete_expr_snippet(&mut acc, &ctx); |
87 | complete_snippet::complete_item_snippet(&mut acc, &ctx); | 87 | complete_snippet::complete_item_snippet(&mut acc, &ctx); |
88 | complete_path::complete_path(&mut acc, &ctx); | 88 | complete_qualified_path::complete_path(&mut acc, &ctx); |
89 | complete_scope::complete_scope(&mut acc, &ctx); | 89 | complete_unqualified_path::complete_scope(&mut acc, &ctx); |
90 | complete_dot::complete_dot(&mut acc, &ctx); | 90 | complete_dot::complete_dot(&mut acc, &ctx); |
91 | complete_record::complete_record(&mut acc, &ctx); | 91 | complete_record::complete_record(&mut acc, &ctx); |
92 | complete_pattern::complete_pattern(&mut acc, &ctx); | 92 | complete_pattern::complete_pattern(&mut acc, &ctx); |
diff --git a/crates/ra_ide/src/completion/complete_path.rs b/crates/ra_ide/src/completion/complete_qualified_path.rs index 3ed2ae2b6..3ed2ae2b6 100644 --- a/crates/ra_ide/src/completion/complete_path.rs +++ b/crates/ra_ide/src/completion/complete_qualified_path.rs | |||
diff --git a/crates/ra_ide/src/completion/complete_scope.rs b/crates/ra_ide/src/completion/complete_unqualified_path.rs index 665597e4c..665597e4c 100644 --- a/crates/ra_ide/src/completion/complete_scope.rs +++ b/crates/ra_ide/src/completion/complete_unqualified_path.rs | |||