Auto merge of #17523 - wada314:master, r=Veykril

Add an option to use "::" for the external crate prefix.

Fixes #11823 .
Hi I'm very new to rust-analyzer and not sure how the review process are. Can somebody take a look at this PR? thanks!
This commit is contained in:
bors 2024-07-07 08:32:46 +00:00
commit a494aaba87
43 changed files with 233 additions and 11 deletions

View file

@ -1734,6 +1734,16 @@
}
}
},
{
"title": "imports",
"properties": {
"rust-analyzer.imports.prefixExternPrelude": {
"markdownDescription": "Whether to prefix external (including std, core) crate imports with `::`. e.g. \"use ::std::io::Read;\".",
"default": false,
"type": "boolean"
}
}
},
{
"title": "inlayHints",
"properties": {