Update rust-analyzer configuration
This commit is contained in:
parent
814ed4fa53
commit
e97e40de22
1 changed files with 3 additions and 4 deletions
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
|
@ -1,10 +1,9 @@
|
||||||
{
|
{
|
||||||
// source for rustc_* is not included in the rust-src component; disable the errors about this
|
// source for rustc_* is not included in the rust-src component; disable the errors about this
|
||||||
"rust-analyzer.diagnostics.disabled": ["unresolved-extern-crate", "unresolved-macro-call"],
|
"rust-analyzer.diagnostics.disabled": ["unresolved-extern-crate", "unresolved-macro-call"],
|
||||||
"rust-analyzer.assist.importGranularity": "module",
|
"rust-analyzer.imports.granularity.enforce": true,
|
||||||
"rust-analyzer.assist.importEnforceGranularity": true,
|
"rust-analyzer.imports.granularity.group": "module",
|
||||||
"rust-analyzer.assist.importPrefix": "crate",
|
"rust-analyzer.imports.prefix": "crate",
|
||||||
"rust-analyzer.cargo.runBuildScripts": true,
|
|
||||||
"rust-analyzer.cargo.features": ["unstable-features"],
|
"rust-analyzer.cargo.features": ["unstable-features"],
|
||||||
"rust-analyzer.linkedProjects": [
|
"rust-analyzer.linkedProjects": [
|
||||||
"./Cargo.toml",
|
"./Cargo.toml",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue