mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 20:31:59 +00:00
update import granularity config and docs
This commit is contained in:
parent
57d4b5bb0f
commit
4f176b3f7f
3 changed files with 11 additions and 4 deletions
|
|
@ -1120,13 +1120,15 @@
|
|||
"preserve",
|
||||
"crate",
|
||||
"module",
|
||||
"item"
|
||||
"item",
|
||||
"one"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Do not change the granularity of any imports and preserve the original structure written by the developer.",
|
||||
"Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements.",
|
||||
"Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements.",
|
||||
"Flatten imports so that each has its own use statement."
|
||||
"Flatten imports so that each has its own use statement.",
|
||||
"Merge all imports into a single use statement as long as they have the same visibility and attributes."
|
||||
]
|
||||
},
|
||||
"rust-analyzer.imports.group.enable": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue