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__enum_variant_with_details.snap | |
parent | 79f35cc6992d18e97b0bb9e309a2dc37f6f286e8 (diff) |
Don't use additional_text_edits API internally
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap index 8f6defc4f..0d2390eb2 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T07:29:59.686329490Z" | 2 | created: "2019-02-18T09:10:52.039179076Z" |
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,6 +8,14 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "Bar", | 9 | label: "Bar", |
10 | source_range: [180; 180), | 10 | source_range: [180; 180), |
11 | text_edit: TextEdit { | ||
12 | atoms: [ | ||
13 | AtomTextEdit { | ||
14 | delete: [180; 180), | ||
15 | insert: "Bar" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
11 | kind: EnumVariant, | 19 | kind: EnumVariant, |
12 | detail: "(i32, u32)", | 20 | detail: "(i32, u32)", |
13 | documentation: Documentation( | 21 | documentation: Documentation( |
@@ -17,6 +25,14 @@ expression: kind_completions | |||
17 | CompletionItem { | 25 | CompletionItem { |
18 | label: "Foo", | 26 | label: "Foo", |
19 | source_range: [180; 180), | 27 | source_range: [180; 180), |
28 | text_edit: TextEdit { | ||
29 | atoms: [ | ||
30 | AtomTextEdit { | ||
31 | delete: [180; 180), | ||
32 | insert: "Foo" | ||
33 | } | ||
34 | ] | ||
35 | }, | ||
20 | kind: EnumVariant, | 36 | kind: EnumVariant, |
21 | detail: "()", | 37 | detail: "()", |
22 | documentation: Documentation( | 38 | documentation: Documentation( |
@@ -26,6 +42,14 @@ expression: kind_completions | |||
26 | CompletionItem { | 42 | CompletionItem { |
27 | label: "S", | 43 | label: "S", |
28 | source_range: [180; 180), | 44 | source_range: [180; 180), |
45 | text_edit: TextEdit { | ||
46 | atoms: [ | ||
47 | AtomTextEdit { | ||
48 | delete: [180; 180), | ||
49 | insert: "S" | ||
50 | } | ||
51 | ] | ||
52 | }, | ||
29 | kind: EnumVariant, | 53 | kind: EnumVariant, |
30 | detail: "(S)" | 54 | detail: "(S)" |
31 | } | 55 | } |