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__inserts_parens_for_function_calls2.snap | |
parent | 8b95c0e0c22a67d486c08416175c79b99da5acd9 (diff) |
More compact debug representation for completion
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap | 42 |
1 files changed, 11 insertions, 31 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap index c524f3587..32730639e 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap | |||
@@ -1,44 +1,24 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-22T15:38:19.996733+00:00" | 2 | created: "2019-02-18T07:29:59.843178843Z" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
4 | expression: kind_completions | 5 | expression: kind_completions |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | 6 | --- |
7 | [ | 7 | [ |
8 | CompletionItem { | 8 | CompletionItem { |
9 | completion_kind: Reference, | ||
10 | label: "main", | 9 | label: "main", |
11 | kind: Some( | ||
12 | Function | ||
13 | ), | ||
14 | detail: Some( | ||
15 | "fn main()" | ||
16 | ), | ||
17 | documentation: None, | ||
18 | lookup: None, | ||
19 | insert_text: Some( | ||
20 | "main()$0" | ||
21 | ), | ||
22 | insert_text_format: Snippet, | ||
23 | source_range: [72; 77), | 10 | source_range: [72; 77), |
24 | text_edit: None | 11 | kind: Function, |
12 | detail: "fn main()", | ||
13 | insert_text: "main()$0", | ||
14 | insert_text_format: Snippet | ||
25 | }, | 15 | }, |
26 | CompletionItem { | 16 | CompletionItem { |
27 | completion_kind: Reference, | ||
28 | label: "with_args", | 17 | label: "with_args", |
29 | kind: Some( | ||
30 | Function | ||
31 | ), | ||
32 | detail: Some( | ||
33 | "fn with_args(x: i32, y: String)" | ||
34 | ), | ||
35 | documentation: None, | ||
36 | lookup: None, | ||
37 | insert_text: Some( | ||
38 | "with_args($0)" | ||
39 | ), | ||
40 | insert_text_format: Snippet, | ||
41 | source_range: [72; 77), | 18 | source_range: [72; 77), |
42 | text_edit: None | 19 | kind: Function, |
20 | detail: "fn with_args(x: i32, y: String)", | ||
21 | insert_text: "with_args($0)", | ||
22 | insert_text_format: Snippet | ||
43 | } | 23 | } |
44 | ] | 24 | ] |