2022-01-21 12:50:53 +01:00
|
|
|
{
|
2022-01-23 07:39:40 +01:00
|
|
|
"editor.formatOnSave": true,
|
2022-05-13 05:44:48 +02:00
|
|
|
"[python]": {
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
|
"source.organizeImports": true
|
|
|
|
}
|
2022-05-09 12:00:20 +02:00
|
|
|
},
|
2022-01-24 02:06:02 +01:00
|
|
|
"files.watcherExclude": {
|
|
|
|
"**/.git/objects/**": true,
|
|
|
|
"**/.git/subtree-cache/**": true,
|
|
|
|
"**/node_modules/*/**": true,
|
2022-02-17 04:25:22 +01:00
|
|
|
".bazel/**": true
|
2022-01-24 02:06:02 +01:00
|
|
|
},
|
2022-01-23 07:39:40 +01:00
|
|
|
"python.analysis.extraPaths": ["./pylib"],
|
|
|
|
"python.formatting.provider": "black",
|
2022-02-17 04:25:22 +01:00
|
|
|
"python.linting.mypyEnabled": false,
|
2022-03-07 02:54:41 +01:00
|
|
|
"python.analysis.diagnosticSeverityOverrides": {
|
|
|
|
"reportMissingModuleSource": "none"
|
|
|
|
},
|
2022-01-23 07:39:40 +01:00
|
|
|
"rust-analyzer.checkOnSave.allTargets": false,
|
2022-02-17 04:25:22 +01:00
|
|
|
"rust-analyzer.files.excludeDirs": [".bazel", "node_modules"],
|
2022-01-23 07:39:40 +01:00
|
|
|
"rust-analyzer.procMacro.enable": true,
|
|
|
|
// this formats 'use' blocks in a nicer way, but requires you to run
|
|
|
|
// 'rustup install nightly'.
|
2022-01-24 02:06:02 +01:00
|
|
|
"rust-analyzer.rustfmt.extraArgs": ["+nightly"],
|
|
|
|
"search.exclude": {
|
|
|
|
"**/node_modules": true,
|
2022-02-17 04:25:22 +01:00
|
|
|
".bazel/**": true
|
2022-05-21 05:34:19 +02:00
|
|
|
},
|
|
|
|
"rust-analyzer.cargo.buildScripts.enable": true
|
2022-01-23 07:39:40 +01:00
|
|
|
}
|