mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
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:
commit
a494aaba87
43 changed files with 233 additions and 11 deletions
|
@ -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": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue