From 65885791165c42b48fa2deaed32c4f35c17c62f5 Mon Sep 17 00:00:00 2001 From: "Jeremy A. Kolb" Date: Fri, 25 Jan 2019 12:51:36 -0500 Subject: Add module documentation support --- .../snapshots/completion_item__mod_with_docs.snap | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap (limited to 'crates/ra_ide_api/src/completion/snapshots') diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap new file mode 100644 index 000000000..3db7119a7 --- /dev/null +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap @@ -0,0 +1,26 @@ +--- +created: "2019-01-25T17:49:28.949186500+00:00" +creator: insta@0.5.2 +expression: kind_completions +source: crates/ra_ide_api/src/completion/completion_item.rs +--- +[ + CompletionItem { + completion_kind: Reference, + label: "my", + kind: Some( + Module + ), + detail: None, + documentation: Some( + Documentation( + "Some simple\ndocs describing `mod my`." + ) + ), + lookup: None, + insert_text: None, + insert_text_format: PlainText, + source_range: [23; 25), + text_edit: None + } +] -- cgit v1.2.3