mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
add some more VS Code workspace settings for Python/Rust
This commit is contained in:
parent
6a5939a035
commit
7e01335536
1 changed files with 11 additions and 4 deletions
15
.vscode/settings.json
vendored
15
.vscode/settings.json
vendored
|
@ -1,5 +1,12 @@
|
|||
{
|
||||
"python.analysis.extraPaths": [
|
||||
"./pylib"
|
||||
]
|
||||
}
|
||||
"editor.formatOnSave": true,
|
||||
"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 a new issue