diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2025-05-19 08:40:59 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2025-05-19 08:44:05 +0200 |
| commit | 687eeeafc8031f143698304b34d5fbdce6bb8e0e (patch) | |
| tree | 5f5a17c2610a6f31265d3b0861ce02962ad9344e /src/tools/rust-analyzer/editors/code | |
| parent | 0e63f085d32350d5563e234938434b46e5539266 (diff) | |
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.
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
| -rw-r--r-- | src/tools/rust-analyzer/editors/code/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json index a282eea9997..88a90aad8c9 100644 --- a/src/tools/rust-analyzer/editors/code/package.json +++ b/src/tools/rust-analyzer/editors/code/package.json @@ -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", |
