From 6a8d47e7f05545de335107262ceca2ef1742888f Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Mon, 10 May 2021 21:03:50 +0200 Subject: Give MergeBehaviour variants better names --- editors/code/package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'editors/code/package.json') diff --git a/editors/code/package.json b/editors/code/package.json index 0cc265aa4..f35d30898 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -382,17 +382,17 @@ "$generated-start": false, "rust-analyzer.assist.importMergeBehavior": { "markdownDescription": "The strategy to use when inserting new imports or merging imports.", - "default": "full", + "default": "crate", "type": "string", "enum": [ "none", - "full", - "last" + "crate", + "module" ], "enumDescriptions": [ - "No merging", - "Merge all layers of the import trees", - "Only merge the last layer of the import trees" + "Do not merge imports at all.", + "Merge imports from the same crate into a single `use` statement.", + "Merge imports from the same module into a single `use` statement." ] }, "rust-analyzer.assist.importPrefix": { -- cgit v1.2.3