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! {
544544 /// Whether to prefer import paths containing a `prelude` module.
545545 imports_preferPrelude: bool = false ,
546546 /// The path structure for newly inserted paths to use.
547- imports_prefix: ImportPrefixDef = ImportPrefixDef :: Plain ,
547+ imports_prefix: ImportPrefixDef = ImportPrefixDef :: ByCrate ,
548548 /// Whether to prefix external (including std, core) crate imports with `::`. e.g. "use ::std::io::Read;".
549549 imports_prefixExternPrelude: bool = false ,
550550 }
Original file line number Diff line number Diff line change @@ -835,7 +835,7 @@ Whether to prefer import paths containing a `prelude` module.
835835
836836## rust-analyzer.imports.prefix {#imports.prefix}
837837
838- Default: ` "plain " `
838+ Default: ` "crate " `
839839
840840The path structure for newly inserted paths to use.
841841
Original file line number Diff line number Diff line change 19271927 "properties" : {
19281928 "rust-analyzer.imports.prefix" : {
19291929 "markdownDescription" : " The path structure for newly inserted paths to use." ,
1930- "default" : " plain " ,
1930+ "default" : " crate " ,
19311931 "type" : " string" ,
19321932 "enum" : [
19331933 " plain" ,
You can’t perform that action at this time.
0 commit comments