diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-03-19 22:38:34 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-03-19 22:38:34 +0100 |
| commit | fcd24adba9cca483115a7ac207854d2a0ea94823 (patch) | |
| tree | 3b2d22c5793fb966e3c2c945e356b2e232b40c37 /.vscode/settings.json | |
| parent | 4bfe6248936bf9d12185ada7f43c938d87f99841 (diff) | |
vscode: recommend extensions, disable toml formatting, update.
Diffstat (limited to '.vscode/settings.json')
| -rw-r--r-- | .vscode/settings.json | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index db37b64ce..700804dca 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json | |||
| @@ -1,9 +1,11 @@ | |||
| 1 | { | 1 | { |
| 2 | "editor.formatOnSave": true, | 2 | "editor.formatOnSave": true, |
| 3 | "[toml]": { | ||
| 4 | "editor.formatOnSave": false | ||
| 5 | }, | ||
| 3 | "rust-analyzer.check.allTargets": false, | 6 | "rust-analyzer.check.allTargets": false, |
| 4 | "rust-analyzer.check.noDefaultFeatures": true, | 7 | "rust-analyzer.check.noDefaultFeatures": true, |
| 5 | "rust-analyzer.cargo.noDefaultFeatures": true, | 8 | "rust-analyzer.cargo.noDefaultFeatures": true, |
| 6 | "rust-analyzer.procMacro.enable": true, | ||
| 7 | "rust-analyzer.cargo.target": "thumbv7em-none-eabi", | 9 | "rust-analyzer.cargo.target": "thumbv7em-none-eabi", |
| 8 | //"rust-analyzer.cargo.target": "thumbv8m.main-none-eabihf", | 10 | //"rust-analyzer.cargo.target": "thumbv8m.main-none-eabihf", |
| 9 | "rust-analyzer.cargo.features": [ | 11 | "rust-analyzer.cargo.features": [ |
| @@ -38,8 +40,4 @@ | |||
| 38 | // "examples/stm32wl55/Cargo.toml", | 40 | // "examples/stm32wl55/Cargo.toml", |
| 39 | // "examples/wasm/Cargo.toml", | 41 | // "examples/wasm/Cargo.toml", |
| 40 | ], | 42 | ], |
| 41 | "rust-analyzer.imports.granularity.enforce": true, | ||
| 42 | "rust-analyzer.imports.granularity.group": "module", | ||
| 43 | "rust-analyzer.cargo.buildScripts.enable": true, | ||
| 44 | "rust-analyzer.procMacro.attributes.enable": false, | ||
| 45 | } \ No newline at end of file | 43 | } \ No newline at end of file |
