2025-05-17 23:57:52 +00:00
|
|
|
{
|
|
|
|
|
"files.readonlyInclude": {
|
|
|
|
|
"**/.cargo/registry/src/**/*.rs": true,
|
|
|
|
|
"**/.cargo/git/checkouts/**/*.rs": true,
|
|
|
|
|
"**/lib/rustlib/src/rust/library/**/*.rs": true,
|
2025-05-22 14:27:00 +00:00
|
|
|
},
|
|
|
|
|
"git.closeDiffOnOperation": true,
|
|
|
|
|
"[rust]": {
|
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
|
|
"source.organizeImports": "explicit"
|
|
|
|
|
},
|
|
|
|
|
},
|
2025-06-04 13:25:00 +00:00
|
|
|
"rust-analyzer.imports.prefix": "plain",
|
2025-06-06 23:42:18 +00:00
|
|
|
"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,
|
2025-07-09 17:02:37 +00:00
|
|
|
"coverage-gutters.coverageReportFileName": "target/llvm-cov/**/index.html",
|
2025-05-22 14:27:00 +00:00
|
|
|
// // 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"
|
|
|
|
|
// ],
|
2025-05-17 23:57:52 +00:00
|
|
|
}
|