diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap new file mode 100644 index 000000000..a0abd00cc --- /dev/null +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap | |||
@@ -0,0 +1,94 @@ | |||
1 | Created: 2019-01-21T05:12:32.815475+00:00 | ||
2 | Creator: [email protected] | ||
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | ||
4 | |||
5 | [ | ||
6 | CompletionItem { | ||
7 | completion_kind: Postfix, | ||
8 | label: "not", | ||
9 | kind: None, | ||
10 | detail: None, | ||
11 | lookup: None, | ||
12 | insert_text: Some( | ||
13 | "!not" | ||
14 | ), | ||
15 | insert_text_format: Snippet, | ||
16 | source_range: [76; 76), | ||
17 | text_edit: Some( | ||
18 | TextEdit { | ||
19 | atoms: [ | ||
20 | AtomTextEdit { | ||
21 | delete: [72; 76), | ||
22 | insert: "" | ||
23 | } | ||
24 | ] | ||
25 | } | ||
26 | ) | ||
27 | }, | ||
28 | CompletionItem { | ||
29 | completion_kind: Postfix, | ||
30 | label: "if", | ||
31 | kind: None, | ||
32 | detail: None, | ||
33 | lookup: None, | ||
34 | insert_text: Some( | ||
35 | "if bar {$0}" | ||
36 | ), | ||
37 | insert_text_format: Snippet, | ||
38 | source_range: [76; 76), | ||
39 | text_edit: Some( | ||
40 | TextEdit { | ||
41 | atoms: [ | ||
42 | AtomTextEdit { | ||
43 | delete: [72; 76), | ||
44 | insert: "" | ||
45 | } | ||
46 | ] | ||
47 | } | ||
48 | ) | ||
49 | }, | ||
50 | CompletionItem { | ||
51 | completion_kind: Postfix, | ||
52 | label: "match", | ||
53 | kind: None, | ||
54 | detail: None, | ||
55 | lookup: None, | ||
56 | insert_text: Some( | ||
57 | "match bar {\n${1:_} => {$0\\},\n}" | ||
58 | ), | ||
59 | insert_text_format: Snippet, | ||
60 | source_range: [76; 76), | ||
61 | text_edit: Some( | ||
62 | TextEdit { | ||
63 | atoms: [ | ||
64 | AtomTextEdit { | ||
65 | delete: [72; 76), | ||
66 | insert: "" | ||
67 | } | ||
68 | ] | ||
69 | } | ||
70 | ) | ||
71 | }, | ||
72 | CompletionItem { | ||
73 | completion_kind: Postfix, | ||
74 | label: "while", | ||
75 | kind: None, | ||
76 | detail: None, | ||
77 | lookup: None, | ||
78 | insert_text: Some( | ||
79 | "while bar {\n$0\n}" | ||
80 | ), | ||
81 | insert_text_format: Snippet, | ||
82 | source_range: [76; 76), | ||
83 | text_edit: Some( | ||
84 | TextEdit { | ||
85 | atoms: [ | ||
86 | AtomTextEdit { | ||
87 | delete: [72; 76), | ||
88 | insert: "" | ||
89 | } | ||
90 | ] | ||
91 | } | ||
92 | ) | ||
93 | } | ||
94 | ] | ||