diff options
author | gfreezy <[email protected]> | 2019-01-20 04:02:00 +0000 |
---|---|---|
committer | gfreezy <[email protected]> | 2019-01-20 04:02:00 +0000 |
commit | 2a43638052213d1faa690e6d68bd5702e44fa027 (patch) | |
tree | 38cb979816dcdff9b9847592a1f99193f0bda70b /crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap | |
parent | 94d96b60f334e662f516bd0f04cc4191d7a804e6 (diff) |
use a combination of `source_change` and `text_edit` for `CompleteItem`
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap index ff8646ab2..132048d9c 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap | |||
@@ -1,4 +1,4 @@ | |||
1 | Created: 2019-01-19T16:37:23.674785+00:00 | 1 | Created: 2019-01-20T04:00:48.241096+00:00 |
2 | Creator: [email protected] | 2 | Creator: [email protected] |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | Source: crates/ra_ide_api/src/completion/completion_item.rs |
4 | 4 | ||
@@ -13,8 +13,8 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
13 | lookup: None, | 13 | lookup: None, |
14 | insert_text: None, | 14 | insert_text: None, |
15 | insert_text_format: PlainText, | 15 | insert_text_format: PlainText, |
16 | replace_range: [62; 100), | 16 | source_range: [62; 100), |
17 | delete_range: None | 17 | text_edit: None |
18 | }, | 18 | }, |
19 | CompletionItem { | 19 | CompletionItem { |
20 | completion_kind: Reference, | 20 | completion_kind: Reference, |
@@ -28,7 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
28 | "quux()$0" | 28 | "quux()$0" |
29 | ), | 29 | ), |
30 | insert_text_format: Snippet, | 30 | insert_text_format: Snippet, |
31 | replace_range: [62; 100), | 31 | source_range: [62; 100), |
32 | delete_range: None | 32 | text_edit: None |
33 | } | 33 | } |
34 | ] | 34 | ] |