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__struct_field_completion_self.snap | |
parent | 8b95c0e0c22a67d486c08416175c79b99da5acd9 (diff) |
More compact debug representation for completion
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap | 45 |
1 files changed, 12 insertions, 33 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap index 1073d90fd..52991b9fb 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap | |||
@@ -1,46 +1,25 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-27T19:56:59.909689544+00:00" | 2 | created: "2019-02-18T07:29:59.598965593Z" |
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: "foo", | 9 | label: "foo", |
11 | kind: Some( | ||
12 | Method | ||
13 | ), | ||
14 | detail: Some( | ||
15 | "fn foo(self)" | ||
16 | ), | ||
17 | documentation: None, | ||
18 | lookup: None, | ||
19 | insert_text: Some( | ||
20 | "foo()$0" | ||
21 | ), | ||
22 | insert_text_format: Snippet, | ||
23 | source_range: [187; 187), | 10 | source_range: [187; 187), |
24 | text_edit: None | 11 | kind: Method, |
12 | detail: "fn foo(self)", | ||
13 | insert_text: "foo()$0", | ||
14 | insert_text_format: Snippet | ||
25 | }, | 15 | }, |
26 | CompletionItem { | 16 | CompletionItem { |
27 | completion_kind: Reference, | ||
28 | label: "the_field", | 17 | label: "the_field", |
29 | kind: Some( | ||
30 | Field | ||
31 | ), | ||
32 | detail: Some( | ||
33 | "(u32,)" | ||
34 | ), | ||
35 | documentation: Some( | ||
36 | Documentation( | ||
37 | "This is the_field" | ||
38 | ) | ||
39 | ), | ||
40 | lookup: None, | ||
41 | insert_text: None, | ||
42 | insert_text_format: PlainText, | ||
43 | source_range: [187; 187), | 18 | source_range: [187; 187), |
44 | text_edit: None | 19 | kind: Field, |
20 | detail: "(u32,)", | ||
21 | documentation: Documentation( | ||
22 | "This is the_field" | ||
23 | ) | ||
45 | } | 24 | } |
46 | ] | 25 | ] |