File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ config_data! {
544
544
/// Whether to prefer import paths containing a `prelude` module.
545
545
imports_preferPrelude: bool = false ,
546
546
/// The path structure for newly inserted paths to use.
547
- imports_prefix: ImportPrefixDef = ImportPrefixDef :: Plain ,
547
+ imports_prefix: ImportPrefixDef = ImportPrefixDef :: ByCrate ,
548
548
/// Whether to prefix external (including std, core) crate imports with `::`. e.g. "use ::std::io::Read;".
549
549
imports_prefixExternPrelude: bool = false ,
550
550
}
Original file line number Diff line number Diff line change @@ -835,7 +835,7 @@ Whether to prefer import paths containing a `prelude` module.
835
835
836
836
## rust-analyzer.imports.prefix {#imports.prefix}
837
837
838
- Default: ` "plain " `
838
+ Default: ` "crate " `
839
839
840
840
The path structure for newly inserted paths to use.
841
841
Original file line number Diff line number Diff line change 1927
1927
"properties" : {
1928
1928
"rust-analyzer.imports.prefix" : {
1929
1929
"markdownDescription" : " The path structure for newly inserted paths to use." ,
1930
- "default" : " plain " ,
1930
+ "default" : " crate " ,
1931
1931
"type" : " string" ,
1932
1932
"enum" : [
1933
1933
" plain" ,
You can’t perform that action at this time.
0 commit comments