diff options
author | Aleksey Kladov <[email protected]> | 2019-02-18 07:31:00 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-18 07:31:00 +0000 |
commit | 864fd5ee25ea7b379855284365eb199cc0fa9c07 (patch) | |
tree | 02a9e8fd4f1c096945ee134fcd5b2b856698e7de /crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap | |
parent | 8b95c0e0c22a67d486c08416175c79b99da5acd9 (diff) |
More compact debug representation for completion
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap | 81 |
1 files changed, 18 insertions, 63 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap index 874c41a02..022e3f6e9 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap | |||
@@ -1,88 +1,43 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-27T19:56:59.913826978+00:00" | 2 | created: "2019-02-18T07:29:59.639066512Z" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | expression: kind_completions | ||
5 | 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 | ||
6 | --- | 6 | --- |
7 | [ | 7 | [ |
8 | CompletionItem { | 8 | CompletionItem { |
9 | completion_kind: Keyword, | ||
10 | label: "if", | 9 | label: "if", |
11 | kind: Some( | ||
12 | Keyword | ||
13 | ), | ||
14 | detail: None, | ||
15 | documentation: None, | ||
16 | lookup: None, | ||
17 | insert_text: Some( | ||
18 | "if $0 {}" | ||
19 | ), | ||
20 | insert_text_format: Snippet, | ||
21 | source_range: [41; 41), | 10 | source_range: [41; 41), |
22 | text_edit: None | 11 | kind: Keyword, |
12 | insert_text: "if $0 {}", | ||
13 | insert_text_format: Snippet | ||
23 | }, | 14 | }, |
24 | CompletionItem { | 15 | CompletionItem { |
25 | completion_kind: Keyword, | ||
26 | label: "loop", | 16 | label: "loop", |
27 | kind: Some( | ||
28 | Keyword | ||
29 | ), | ||
30 | detail: None, | ||
31 | documentation: None, | ||
32 | lookup: None, | ||
33 | insert_text: Some( | ||
34 | "loop {$0}" | ||
35 | ), | ||
36 | insert_text_format: Snippet, | ||
37 | source_range: [41; 41), | 17 | source_range: [41; 41), |
38 | text_edit: None | 18 | kind: Keyword, |
19 | insert_text: "loop {$0}", | ||
20 | insert_text_format: Snippet | ||
39 | }, | 21 | }, |
40 | CompletionItem { | 22 | CompletionItem { |
41 | completion_kind: Keyword, | ||
42 | label: "match", | 23 | label: "match", |
43 | kind: Some( | ||
44 | Keyword | ||
45 | ), | ||
46 | detail: None, | ||
47 | documentation: None, | ||
48 | lookup: None, | ||
49 | insert_text: Some( | ||
50 | "match $0 {}" | ||
51 | ), | ||
52 | insert_text_format: Snippet, | ||
53 | source_range: [41; 41), | 24 | source_range: [41; 41), |
54 | text_edit: None | 25 | kind: Keyword, |
26 | insert_text: "match $0 {}", | ||
27 | insert_text_format: Snippet | ||
55 | }, | 28 | }, |
56 | CompletionItem { | 29 | CompletionItem { |
57 | completion_kind: Keyword, | ||
58 | label: "return", | 30 | label: "return", |
59 | kind: Some( | ||
60 | Keyword | ||
61 | ), | ||
62 | detail: None, | ||
63 | documentation: None, | ||
64 | lookup: None, | ||
65 | insert_text: Some( | ||
66 | "return;" | ||
67 | ), | ||
68 | insert_text_format: Snippet, | ||
69 | source_range: [41; 41), | 31 | source_range: [41; 41), |
70 | text_edit: None | 32 | kind: Keyword, |
33 | insert_text: "return;", | ||
34 | insert_text_format: Snippet | ||
71 | }, | 35 | }, |
72 | CompletionItem { | 36 | CompletionItem { |
73 | completion_kind: Keyword, | ||
74 | label: "while", | 37 | label: "while", |
75 | kind: Some( | ||
76 | Keyword | ||
77 | ), | ||
78 | detail: None, | ||
79 | documentation: None, | ||
80 | lookup: None, | ||
81 | insert_text: Some( | ||
82 | "while $0 {}" | ||
83 | ), | ||
84 | insert_text_format: Snippet, | ||
85 | source_range: [41; 41), | 38 | source_range: [41; 41), |
86 | text_edit: None | 39 | kind: Keyword, |
40 | insert_text: "while $0 {}", | ||
41 | insert_text_format: Snippet | ||
87 | } | 42 | } |
88 | ] | 43 | ] |