mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
minor: Sort ide-completions test outputs for less disruptive diffs
This commit is contained in:
parent
8b092ec337
commit
5280e08c13
21 changed files with 993 additions and 992 deletions
|
@ -98,6 +98,7 @@ fn completion_list_with_config(
|
|||
})
|
||||
.filter(|it| include_keywords || it.kind() != CompletionItemKind::Keyword)
|
||||
.filter(|it| include_keywords || it.kind() != CompletionItemKind::Snippet)
|
||||
.sorted_by_key(|it| (it.kind(), it.label().to_owned(), it.detail().map(ToOwned::to_owned)))
|
||||
.collect();
|
||||
render_completion_list(items)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue