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__enum_variant_with_details.snap | |
parent | 8b95c0e0c22a67d486c08416175c79b99da5acd9 (diff) |
More compact debug representation for completion
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 | 62 |
1 files changed, 15 insertions, 47 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 9fd2d81ec..8f6defc4f 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,64 +1,32 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-27T19:56:59.938973454+00:00" | 2 | created: "2019-02-18T07:29:59.686329490Z" |
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: Reference, | ||
10 | label: "Bar", | 9 | label: "Bar", |
11 | kind: Some( | ||
12 | EnumVariant | ||
13 | ), | ||
14 | detail: Some( | ||
15 | "(i32, u32)" | ||
16 | ), | ||
17 | documentation: Some( | ||
18 | Documentation( | ||
19 | "Bar Variant with i32 and u32" | ||
20 | ) | ||
21 | ), | ||
22 | lookup: None, | ||
23 | insert_text: None, | ||
24 | insert_text_format: PlainText, | ||
25 | source_range: [180; 180), | 10 | source_range: [180; 180), |
26 | text_edit: None | 11 | kind: EnumVariant, |
12 | detail: "(i32, u32)", | ||
13 | documentation: Documentation( | ||
14 | "Bar Variant with i32 and u32" | ||
15 | ) | ||
27 | }, | 16 | }, |
28 | CompletionItem { | 17 | CompletionItem { |
29 | completion_kind: Reference, | ||
30 | label: "Foo", | 18 | label: "Foo", |
31 | kind: Some( | ||
32 | EnumVariant | ||
33 | ), | ||
34 | detail: Some( | ||
35 | "()" | ||
36 | ), | ||
37 | documentation: Some( | ||
38 | Documentation( | ||
39 | "Foo Variant (empty)" | ||
40 | ) | ||
41 | ), | ||
42 | lookup: None, | ||
43 | insert_text: None, | ||
44 | insert_text_format: PlainText, | ||
45 | source_range: [180; 180), | 19 | source_range: [180; 180), |
46 | text_edit: None | 20 | kind: EnumVariant, |
21 | detail: "()", | ||
22 | documentation: Documentation( | ||
23 | "Foo Variant (empty)" | ||
24 | ) | ||
47 | }, | 25 | }, |
48 | CompletionItem { | 26 | CompletionItem { |
49 | completion_kind: Reference, | ||
50 | label: "S", | 27 | label: "S", |
51 | kind: Some( | ||
52 | EnumVariant | ||
53 | ), | ||
54 | detail: Some( | ||
55 | "(S)" | ||
56 | ), | ||
57 | documentation: None, | ||
58 | lookup: None, | ||
59 | insert_text: None, | ||
60 | insert_text_format: PlainText, | ||
61 | source_range: [180; 180), | 28 | source_range: [180; 180), |
62 | text_edit: None | 29 | kind: EnumVariant, |
30 | detail: "(S)" | ||
63 | } | 31 | } |
64 | ] | 32 | ] |