You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{
|
|
|
|
"files.insertFinalNewline": true,
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"files.trimTrailingWhitespace": true,
|
|
|
|
"editor.semanticTokenColorCustomizations": {
|
|
|
|
"rules": {
|
|
|
|
"*.unsafe:rust": "#eb5046"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"files.exclude": {
|
|
|
|
"target_ra/**": true,
|
|
|
|
"target_wasm/**": true,
|
|
|
|
"target/**": true,
|
|
|
|
},
|
|
|
|
// Tell Rust Analyzer to use its own target directory, so we don't need to wait for it to finish wen we want to `cargo run`
|
|
|
|
"rust-analyzer.check.overrideCommand": [
|
|
|
|
"cargo",
|
|
|
|
"cranky",
|
|
|
|
"--target-dir=target_ra",
|
|
|
|
"--workspace",
|
|
|
|
"--message-format=json",
|
|
|
|
"--all-targets",
|
|
|
|
],
|
|
|
|
"rust-analyzer.cargo.buildScripts.overrideCommand": [
|
|
|
|
"cargo",
|
|
|
|
"check",
|
|
|
|
"--quiet",
|
|
|
|
"--target-dir=target_ra",
|
|
|
|
"--workspace",
|
|
|
|
"--message-format=json",
|
|
|
|
"--all-targets",
|
|
|
|
],
|
|
|
|
}
|