From 2caa690ef6feba3f78354e715deea37983b149ac Mon Sep 17 00:00:00 2001 From: robojumper Date: Fri, 5 Apr 2019 22:59:55 +0200 Subject: Rudimentarily autocomplete tuple struct field access --- .../completion_item__tuple_field_inference.snap | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 crates/ra_ide_api/src/completion/snapshots/completion_item__tuple_field_inference.snap (limited to 'crates/ra_ide_api/src/completion/snapshots') diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__tuple_field_inference.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__tuple_field_inference.snap new file mode 100644 index 000000000..72c8973b8 --- /dev/null +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__tuple_field_inference.snap @@ -0,0 +1,16 @@ +--- +created: "2019-04-05T23:00:18.283812700Z" +creator: insta@0.7.4 +source: crates/ra_ide_api/src/completion/completion_item.rs +expression: kind_completions +--- +[ + CompletionItem { + label: "blah", + source_range: [299; 300), + delete: [299; 300), + insert: "blah()$0", + kind: Method, + detail: "pub fn blah(&self)" + } +] -- cgit v1.2.3