aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_items.snap
blob: 486b353effb907b3e884d3dc5acd77e6f18845e8 (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
---
created: "2019-02-18T09:10:52.152402422Z"
creator: [email protected]
source: crates/ra_ide_api/src/completion/completion_item.rs
expression: kind_completions
---
[
    CompletionItem {
        label: "Test function",
        source_range: [66; 66),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [66; 66),
                    insert: "#[test]\nfn ${1:feature}() {\n    $0\n}"
                }
            ]
        },
        kind: Snippet,
        lookup: "tfn"
    },
    CompletionItem {
        label: "pub(crate)",
        source_range: [66; 66),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [66; 66),
                    insert: "pub(crate) $0"
                }
            ]
        },
        kind: Snippet
    }
]