{ "files.readonlyInclude": { "**/.cargo/registry/src/**/*.rs": true, "**/.cargo/git/checkouts/**/*.rs": true, "**/lib/rustlib/src/rust/library/**/*.rs": true, }, "git.closeDiffOnOperation": true, "[rust]": { "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.organizeImports": "explicit" }, }, "rust-analyzer.imports.prefix": "plain", "todo-tree.general.tags": [ "BUG", "HACK", "FIXME", "TODO", "XXX", "[ ]", "[x]", "BOOKMARK" ], "todo-tree.highlights.backgroundColourScheme": [ "red", "orange", "yellow", "green", "blue", "indigo", "violet", "yellow" ], "todo-tree.highlights.foregroundColourScheme": [ "white", "black", "black", "white", "white", "white", "black", "black" ], "todo-tree.highlights.useColourScheme": true, "coverage-gutters.coverageReportFileName": "target/llvm-cov/**/index.html", // // override the default setting (`cargo check --all-targets`) which produces the following error // // "can't find crate for `test`" when the default compilation target is a no_std target // "rust-analyzer.checkOnSave.allTargets": false, // // with these changes RA will call `cargo check --bins` on save // "rust-analyzer.checkOnSave.extraArgs": [ // "--bins" // ], }