diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap | 62 |
1 files changed, 46 insertions, 16 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap index aeedd0e80..225ca4c7f 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T07:29:59.662074625Z" | 2 | created: "2019-02-18T09:10:52.011157905Z" |
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,36 +8,66 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "if", | 9 | label: "if", |
10 | source_range: [60; 60), | 10 | source_range: [60; 60), |
11 | kind: Keyword, | 11 | text_edit: TextEdit { |
12 | insert_text: "if $0 {}", | 12 | atoms: [ |
13 | insert_text_format: Snippet | 13 | AtomTextEdit { |
14 | delete: [60; 60), | ||
15 | insert: "if $0 {}" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
19 | kind: Keyword | ||
14 | }, | 20 | }, |
15 | CompletionItem { | 21 | CompletionItem { |
16 | label: "loop", | 22 | label: "loop", |
17 | source_range: [60; 60), | 23 | source_range: [60; 60), |
18 | kind: Keyword, | 24 | text_edit: TextEdit { |
19 | insert_text: "loop {$0}", | 25 | atoms: [ |
20 | insert_text_format: Snippet | 26 | AtomTextEdit { |
27 | delete: [60; 60), | ||
28 | insert: "loop {$0}" | ||
29 | } | ||
30 | ] | ||
31 | }, | ||
32 | kind: Keyword | ||
21 | }, | 33 | }, |
22 | CompletionItem { | 34 | CompletionItem { |
23 | label: "match", | 35 | label: "match", |
24 | source_range: [60; 60), | 36 | source_range: [60; 60), |
25 | kind: Keyword, | 37 | text_edit: TextEdit { |
26 | insert_text: "match $0 {}", | 38 | atoms: [ |
27 | insert_text_format: Snippet | 39 | AtomTextEdit { |
40 | delete: [60; 60), | ||
41 | insert: "match $0 {}" | ||
42 | } | ||
43 | ] | ||
44 | }, | ||
45 | kind: Keyword | ||
28 | }, | 46 | }, |
29 | CompletionItem { | 47 | CompletionItem { |
30 | label: "return", | 48 | label: "return", |
31 | source_range: [60; 60), | 49 | source_range: [60; 60), |
32 | kind: Keyword, | 50 | text_edit: TextEdit { |
33 | insert_text: "return $0;", | 51 | atoms: [ |
34 | insert_text_format: Snippet | 52 | AtomTextEdit { |
53 | delete: [60; 60), | ||
54 | insert: "return $0;" | ||
55 | } | ||
56 | ] | ||
57 | }, | ||
58 | kind: Keyword | ||
35 | }, | 59 | }, |
36 | CompletionItem { | 60 | CompletionItem { |
37 | label: "while", | 61 | label: "while", |
38 | source_range: [60; 60), | 62 | source_range: [60; 60), |
39 | kind: Keyword, | 63 | text_edit: TextEdit { |
40 | insert_text: "while $0 {}", | 64 | atoms: [ |
41 | insert_text_format: Snippet | 65 | AtomTextEdit { |
66 | delete: [60; 60), | ||
67 | insert: "while $0 {}" | ||
68 | } | ||
69 | ] | ||
70 | }, | ||
71 | kind: Keyword | ||
42 | } | 72 | } |
43 | ] | 73 | ] |