diff options
author | gfreezy <[email protected]> | 2019-01-19 14:02:50 +0000 |
---|---|---|
committer | gfreezy <[email protected]> | 2019-01-19 14:02:50 +0000 |
commit | d08e81cdd818dd3378c292767e15a38e6bbc6f6c (patch) | |
tree | e07b3363f21912ca7aaca4ae1dce482c0bcd6f85 /crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap | |
parent | fa43ef30f4f96fc8e4ea1f9c4492bcb07b3335ca (diff) |
refactor completions to use TextEdit instead of InsertText
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap new file mode 100644 index 000000000..d27ca5f8f --- /dev/null +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap | |||
@@ -0,0 +1,20 @@ | |||
1 | Created: 2019-01-19T11:34:11.702218+00:00 | ||
2 | Creator: [email protected] | ||
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | ||
4 | |||
5 | [ | ||
6 | CompletionItem { | ||
7 | completion_kind: Reference, | ||
8 | label: "the_field", | ||
9 | kind: Some( | ||
10 | Field | ||
11 | ), | ||
12 | detail: Some( | ||
13 | "u32" | ||
14 | ), | ||
15 | lookup: None, | ||
16 | insert_text_format: PlainText, | ||
17 | text_edit: None, | ||
18 | additional_text_edits: None | ||
19 | } | ||
20 | ] | ||