diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap index 6cc8ab26c..f8b142b71 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T07:29:59.598948318Z" | 2 | created: "2019-02-18T09:10:51.944760801Z" |
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,9 +8,15 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "the_method", | 9 | label: "the_method", |
10 | source_range: [144; 144), | 10 | source_range: [144; 144), |
11 | text_edit: TextEdit { | ||
12 | atoms: [ | ||
13 | AtomTextEdit { | ||
14 | delete: [144; 144), | ||
15 | insert: "the_method()$0" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
11 | kind: Method, | 19 | kind: Method, |
12 | detail: "fn the_method(&self)", | 20 | detail: "fn the_method(&self)" |
13 | insert_text: "the_method()$0", | ||
14 | insert_text_format: Snippet | ||
15 | } | 21 | } |
16 | ] | 22 | ] |