diff options
| -rw-r--r-- | .vscode/extensions.json | 11 | ||||
| -rw-r--r-- | .vscode/settings.json | 14 |
2 files changed, 17 insertions, 8 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..a8bb78adb --- /dev/null +++ b/.vscode/extensions.json | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | { | ||
| 2 | // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. | ||
| 3 | // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp | ||
| 4 | // List of extensions which should be recommended for users of this workspace. | ||
| 5 | "recommendations": [ | ||
| 6 | "rust-lang.rust-analyzer", | ||
| 7 | "tamasfe.even-better-toml", | ||
| 8 | ], | ||
| 9 | // List of extensions recommended by VS Code that should not be recommended for users of this workspace. | ||
| 10 | "unwantedRecommendations": [] | ||
| 11 | } \ No newline at end of file | ||
diff --git a/.vscode/settings.json b/.vscode/settings.json index 082b286da..dd479929e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json | |||
| @@ -1,14 +1,12 @@ | |||
| 1 | { | 1 | { |
| 2 | "editor.formatOnSave": true, | 2 | "editor.formatOnSave": true, |
| 3 | "rust-analyzer.cargo.buildScripts.enable": true, | 3 | "[toml]": { |
| 4 | "rust-analyzer.cargo.noDefaultFeatures": true, | 4 | "editor.formatOnSave": false |
| 5 | }, | ||
| 5 | "rust-analyzer.cargo.target": "thumbv6m-none-eabi", | 6 | "rust-analyzer.cargo.target": "thumbv6m-none-eabi", |
| 6 | "rust-analyzer.checkOnSave.allTargets": false, | 7 | "rust-analyzer.cargo.noDefaultFeatures": true, |
| 7 | "rust-analyzer.checkOnSave.noDefaultFeatures": true, | 8 | "rust-analyzer.check.allTargets": false, |
| 8 | "rust-analyzer.imports.granularity.enforce": true, | 9 | "rust-analyzer.check.noDefaultFeatures": true, |
| 9 | "rust-analyzer.imports.granularity.group": "module", | ||
| 10 | "rust-analyzer.procMacro.attributes.enable": false, | ||
| 11 | "rust-analyzer.procMacro.enable": false, | ||
| 12 | "rust-analyzer.linkedProjects": [ | 10 | "rust-analyzer.linkedProjects": [ |
| 13 | "examples/rpi-pico-w/Cargo.toml", | 11 | "examples/rpi-pico-w/Cargo.toml", |
| 14 | ], | 12 | ], |
