From 864fd5ee25ea7b379855284365eb199cc0fa9c07 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 18 Feb 2019 10:31:00 +0300 Subject: More compact debug representation for completion --- .../completion_item__keywords_in_function1.snap | 81 +++++----------------- 1 file changed, 18 insertions(+), 63 deletions(-) (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap') diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap index 874c41a02..022e3f6e9 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap @@ -1,88 +1,43 @@ --- -created: "2019-01-27T19:56:59.913826978+00:00" -creator: insta@0.5.2 -expression: kind_completions +created: "2019-02-18T07:29:59.639066512Z" +creator: insta@0.6.2 source: crates/ra_ide_api/src/completion/completion_item.rs +expression: kind_completions --- [ CompletionItem { - completion_kind: Keyword, label: "if", - kind: Some( - Keyword - ), - detail: None, - documentation: None, - lookup: None, - insert_text: Some( - "if $0 {}" - ), - insert_text_format: Snippet, source_range: [41; 41), - text_edit: None + kind: Keyword, + insert_text: "if $0 {}", + insert_text_format: Snippet }, CompletionItem { - completion_kind: Keyword, label: "loop", - kind: Some( - Keyword - ), - detail: None, - documentation: None, - lookup: None, - insert_text: Some( - "loop {$0}" - ), - insert_text_format: Snippet, source_range: [41; 41), - text_edit: None + kind: Keyword, + insert_text: "loop {$0}", + insert_text_format: Snippet }, CompletionItem { - completion_kind: Keyword, label: "match", - kind: Some( - Keyword - ), - detail: None, - documentation: None, - lookup: None, - insert_text: Some( - "match $0 {}" - ), - insert_text_format: Snippet, source_range: [41; 41), - text_edit: None + kind: Keyword, + insert_text: "match $0 {}", + insert_text_format: Snippet }, CompletionItem { - completion_kind: Keyword, label: "return", - kind: Some( - Keyword - ), - detail: None, - documentation: None, - lookup: None, - insert_text: Some( - "return;" - ), - insert_text_format: Snippet, source_range: [41; 41), - text_edit: None + kind: Keyword, + insert_text: "return;", + insert_text_format: Snippet }, CompletionItem { - completion_kind: Keyword, label: "while", - kind: Some( - Keyword - ), - detail: None, - documentation: None, - lookup: None, - insert_text: Some( - "while $0 {}" - ), - insert_text_format: Snippet, source_range: [41; 41), - text_edit: None + kind: Keyword, + insert_text: "while $0 {}", + insert_text_format: Snippet } ] -- cgit v1.2.3