Change import prefix default to be by crate

The current default plain, tends to create non-uniform import blocks over time, some being relative, some being absolute.
I believe we should encourage a different default here.
This commit is contained in:
Lukas Wirth 2025-05-19 08:40:59 +02:00
parent 3866336d41
commit 262fcfbc58
3 changed files with 3 additions and 3 deletions

View file

@ -1927,7 +1927,7 @@
"properties": {
"rust-analyzer.imports.prefix": {
"markdownDescription": "The path structure for newly inserted paths to use.",
"default": "plain",
"default": "crate",
"type": "string",
"enum": [
"plain",