aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 81179ff9b..06ce86987 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -387,15 +387,17 @@
387 "$generated-start": false, 387 "$generated-start": false,
388 "rust-analyzer.assist.importGranularity": { 388 "rust-analyzer.assist.importGranularity": {
389 "markdownDescription": "How imports should be grouped into use statements.", 389 "markdownDescription": "How imports should be grouped into use statements.",
390 "default": "preserve", 390 "default": "guess",
391 "type": "string", 391 "type": "string",
392 "enum": [ 392 "enum": [
393 "guess",
393 "preserve", 394 "preserve",
394 "crate", 395 "crate",
395 "module", 396 "module",
396 "item" 397 "item"
397 ], 398 ],
398 "enumDescriptions": [ 399 "enumDescriptions": [
400 "Try to guess the granularity of imports on a per module basis by observing the existing imports.",
399 "Do not change the granularity of any imports and preserve the original structure written by the developer.", 401 "Do not change the granularity of any imports and preserve the original structure written by the developer.",
400 "Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements.", 402 "Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements.",
401 "Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements.", 403 "Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements.",