Enable VSCode formatOnSave

This commit is contained in:
bjorn3 2023-01-13 15:59:43 +00:00
parent a3468770e3
commit 3a27253289

View File

@ -1,4 +1,6 @@
{ {
"editor.formatOnSave": true,
// 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.imports.granularity.enforce": true, "rust-analyzer.imports.granularity.enforce": true,