aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap
blob: 5397a0bbe61653db613f145e9394ddf19598a787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
created: "2019-02-18T09:10:52.192876554Z"
creator: [email protected]
source: crates/ra_ide_api/src/completion/completion_item.rs
expression: kind_completions
---
[
    CompletionItem {
        label: "main",
        source_range: [72; 77),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [72; 77),
                    insert: "main()$0"
                }
            ]
        },
        kind: Function,
        detail: "fn main()"
    },
    CompletionItem {
        label: "with_args",
        source_range: [72; 77),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [72; 77),
                    insert: "with_args($0)"
                }
            ]
        },
        kind: Function,
        detail: "fn with_args(x: i32, y: String)"
    }
]