burrow/.vscode/settings.json
Conrad Kramer b94356dfb7 Set clippy as the default build task
Also configure CodeLLDB as a recommended extension.
2023-06-03 13:00:06 -04:00

23 lines
No EOL
660 B
JSON

{
"files.autoSave": "onFocusChange",
"files.defaultLanguage": "rust",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"files.trimTrailingWhitespace": true,
"editor.suggest.preview": true,
"editor.acceptSuggestionOnEnter": "on",
"rust-analyzer.restartServerOnConfigChange": true,
"rust-analyzer.cargo.features": "all",
"rust-analyzer.check.overrideCommand": [
"cargo",
"clippy",
"--fix",
"--workspace",
"--message-format=json",
"--all-targets",
"--allow-dirty"
],
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
},
}