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_autoderef.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_autoderef.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap | 38 |
1 files changed, 9 insertions, 29 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap index 4d5c7a869..99aef933a 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap | |||
@@ -1,42 +1,22 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-27T19:56:59.910113268+00:00" | 2 | created: "2019-02-18T07:29:59.598966298Z" |
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: [126; 126), | 10 | source_range: [126; 126), |
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, i32)" | ||
34 | ), | ||
35 | documentation: None, | ||
36 | lookup: None, | ||
37 | insert_text: None, | ||
38 | insert_text_format: PlainText, | ||
39 | source_range: [126; 126), | 18 | source_range: [126; 126), |
40 | text_edit: None | 19 | kind: Field, |
20 | detail: "(u32, i32)" | ||
41 | } | 21 | } |
42 | ] | 22 | ] |