Make VSCodium Rust experience more robust
This commit is contained in:
parent
0896ccf691
commit
62da4093ea
1 changed files with 12 additions and 0 deletions
12
.vscode/settings.json
vendored
12
.vscode/settings.json
vendored
|
@ -1,8 +1,19 @@
|
||||||
{
|
{
|
||||||
|
"files.readonlyFromPermissions": true,
|
||||||
|
"files.readonlyInclude": {
|
||||||
|
"**/.rustup/**": true,
|
||||||
|
"**/.cargo/registry/**": true,
|
||||||
|
"**/.cargo/git/**": true,
|
||||||
|
"**/.local/share/cargo/registry/**": true,
|
||||||
|
"**/.local/share/cargo/git/**": true
|
||||||
|
},
|
||||||
"[rust]": {
|
"[rust]": {
|
||||||
"editor.defaultFormatter": "rust-lang.rust-analyzer",
|
"editor.defaultFormatter": "rust-lang.rust-analyzer",
|
||||||
"editor.formatOnSave": true
|
"editor.formatOnSave": true
|
||||||
},
|
},
|
||||||
|
"rust-analyzer.cargo.extraEnv": {
|
||||||
|
"RUSTFLAGS": "-Clinker=clang -Clink-arg=-fuse-ld=lld"
|
||||||
|
},
|
||||||
"rust-analyzer.check.command": "clippy", // "check", //
|
"rust-analyzer.check.command": "clippy", // "check", //
|
||||||
"rust-analyzer.cargo.targetDir": true,
|
"rust-analyzer.cargo.targetDir": true,
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
|
@ -13,6 +24,7 @@
|
||||||
"PRNG",
|
"PRNG",
|
||||||
"recip",
|
"recip",
|
||||||
"respawns",
|
"respawns",
|
||||||
|
"Seedable",
|
||||||
"timestep",
|
"timestep",
|
||||||
"timesteps",
|
"timesteps",
|
||||||
"winit",
|
"winit",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue