add some more VS Code workspace settings for Python/Rust
This commit is contained in:
parent
6a5939a035
commit
7e01335536
13
.vscode/settings.json
vendored
13
.vscode/settings.json
vendored
@ -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"]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user