From 92aa0f9c871a9308ea3db1b1c4b7e42d88348e30 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 18 Feb 2019 12:05:16 +0300 Subject: Don't use additional_text_edits API internally --- .../snapshots/completion_item__method_attr_filtering.snap | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__method_attr_filtering.snap') diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__method_attr_filtering.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__method_attr_filtering.snap index 4753eece7..9e4062641 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__method_attr_filtering.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__method_attr_filtering.snap @@ -1,5 +1,5 @@ --- -created: "2019-02-18T07:29:59.598946710Z" +created: "2019-02-18T09:10:51.944926087Z" creator: insta@0.6.2 source: crates/ra_ide_api/src/completion/completion_item.rs expression: kind_completions @@ -8,9 +8,15 @@ expression: kind_completions CompletionItem { label: "the_method", source_range: [249; 249), + text_edit: TextEdit { + atoms: [ + AtomTextEdit { + delete: [249; 249), + insert: "the_method()$0" + } + ] + }, kind: Method, - detail: "fn the_method(&self)", - insert_text: "the_method()$0", - insert_text_format: Snippet + detail: "fn the_method(&self)" } ] -- cgit v1.2.3