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
37
38
39
40
41
42
|
Created: 2019-01-19T13:42:17.845616+00:00
Creator: [email protected]
Source: crates/ra_ide_api/src/completion/completion_item.rs
[
CompletionItem {
completion_kind: Snippet,
label: "Test function",
kind: Some(
Snippet
),
detail: None,
lookup: Some(
"tfn"
),
insert_text_format: Snippet,
text_edit: Some(
AtomTextEdit {
delete: [49; 79),
insert: "#[test]\nfn ${1:feature}() {\n $0\n}"
}
),
additional_text_edits: None
},
CompletionItem {
completion_kind: Snippet,
label: "pub(crate)",
kind: Some(
Snippet
),
detail: None,
lookup: None,
insert_text_format: Snippet,
text_edit: Some(
AtomTextEdit {
delete: [49; 79),
insert: "pub(crate) $0"
}
),
additional_text_edits: None
}
]
|