{ "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", "clippy", "--target-dir=target_ra", "--workspace", "--message-format=json", "--all-targets", "--all-features", ], "rust-analyzer.cargo.buildScripts.overrideCommand": [ "cargo", "clippy", "--quiet", "--target-dir=target_ra", "--workspace", "--message-format=json", "--all-targets", "--all-features", ], "rust-analyzer.showUnlinkedFileNotification": false, // Uncomment the following options and restart rust-analyzer to get it to check code behind `cfg(target_arch=wasm32)`. // Don't forget to put it in a comment again before committing. // "rust-analyzer.cargo.target": "wasm32-unknown-unknown", }