add some more VS Code workspace settings for Python/Rust

This commit is contained in:
Damien Elmes 2022-01-23 16:39:40 +10:00
parent 6a5939a035
commit 7e01335536

13
.vscode/settings.json vendored
View File

@ -1,5 +1,12 @@
{ {
"python.analysis.extraPaths": [ "editor.formatOnSave": true,
"./pylib" "python.analysis.extraPaths": ["./pylib"],
] "python.formatting.provider": "black",
"rust-analyzer.cargo.runBuildScripts": true,
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.files.excludeDirs": ["node_modules"],
"rust-analyzer.procMacro.enable": true,
// this formats 'use' blocks in a nicer way, but requires you to run
// 'rustup install nightly'.
"rust-analyzer.rustfmt.extraArgs": ["+nightly"]
} }