diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2022-05-22 20:35:24 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-05-22 20:35:24 +0200 |
| commit | e97e40de22ad93e16c0a2aa59433dabe16e4dc79 (patch) | |
| tree | 4c8a39bb6de4e3b6f1603fc66b42e322e0e68024 | |
| parent | 814ed4fa53f99a1739123c742c08dc5a1922c5de (diff) | |
| download | rust-e97e40de22ad93e16c0a2aa59433dabe16e4dc79.tar.gz rust-e97e40de22ad93e16c0a2aa59433dabe16e4dc79.zip | |
Update rust-analyzer configuration
| -rw-r--r-- | .vscode/settings.json | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index ecb20f22d8c..d88309e412e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,10 +1,9 @@ { // 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.assist.importGranularity": "module", - "rust-analyzer.assist.importEnforceGranularity": true, - "rust-analyzer.assist.importPrefix": "crate", - "rust-analyzer.cargo.runBuildScripts": true, + "rust-analyzer.imports.granularity.enforce": true, + "rust-analyzer.imports.granularity.group": "module", + "rust-analyzer.imports.prefix": "crate", "rust-analyzer.cargo.features": ["unstable-features"], "rust-analyzer.linkedProjects": [ "./Cargo.toml", |
