diff options
author | Aleksey Kladov <[email protected]> | 2019-02-18 09:05:16 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-18 09:24:20 +0000 |
commit | 92aa0f9c871a9308ea3db1b1c4b7e42d88348e30 (patch) | |
tree | ce785e530a547e3aede708b7725b4a95e666f45f /crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap | |
parent | 79f35cc6992d18e97b0bb9e309a2dc37f6f286e8 (diff) |
Don't use additional_text_edits API internally
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap index f969a843b..facd37bd9 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T07:29:59.633925638Z" | 2 | created: "2019-02-18T09:10:51.979744931Z" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | 4 | source: crates/ra_ide_api/src/completion/completion_item.rs |
5 | expression: kind_completions | 5 | expression: kind_completions |
@@ -8,20 +8,40 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "crate", | 9 | label: "crate", |
10 | source_range: [17; 17), | 10 | source_range: [17; 17), |
11 | kind: Keyword, | 11 | text_edit: TextEdit { |
12 | insert_text: "crate::", | 12 | atoms: [ |
13 | insert_text_format: PlainText | 13 | AtomTextEdit { |
14 | delete: [17; 17), | ||
15 | insert: "crate::" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
19 | kind: Keyword | ||
14 | }, | 20 | }, |
15 | CompletionItem { | 21 | CompletionItem { |
16 | label: "self", | 22 | label: "self", |
17 | source_range: [17; 17), | 23 | source_range: [17; 17), |
24 | text_edit: TextEdit { | ||
25 | atoms: [ | ||
26 | AtomTextEdit { | ||
27 | delete: [17; 17), | ||
28 | insert: "self" | ||
29 | } | ||
30 | ] | ||
31 | }, | ||
18 | kind: Keyword | 32 | kind: Keyword |
19 | }, | 33 | }, |
20 | CompletionItem { | 34 | CompletionItem { |
21 | label: "super", | 35 | label: "super", |
22 | source_range: [17; 17), | 36 | source_range: [17; 17), |
23 | kind: Keyword, | 37 | text_edit: TextEdit { |
24 | insert_text: "super::", | 38 | atoms: [ |
25 | insert_text_format: PlainText | 39 | AtomTextEdit { |
40 | delete: [17; 17), | ||
41 | insert: "super::" | ||
42 | } | ||
43 | ] | ||
44 | }, | ||
45 | kind: Keyword | ||
26 | } | 46 | } |
27 | ] | 47 | ] |