vscode: recommend extensions, disable toml formatting, update.

This commit is contained in:
Dario Nieuwenhuis 2023-03-19 22:36:18 +01:00
parent ee3d284609
commit b411b7ce63
2 changed files with 17 additions and 8 deletions

11
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,11 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
}

14
.vscode/settings.json vendored
View File

@ -1,14 +1,12 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"rust-analyzer.cargo.buildScripts.enable": true, "[toml]": {
"rust-analyzer.cargo.noDefaultFeatures": true, "editor.formatOnSave": false
},
"rust-analyzer.cargo.target": "thumbv6m-none-eabi", "rust-analyzer.cargo.target": "thumbv6m-none-eabi",
"rust-analyzer.checkOnSave.allTargets": false, "rust-analyzer.cargo.noDefaultFeatures": true,
"rust-analyzer.checkOnSave.noDefaultFeatures": true, "rust-analyzer.check.allTargets": false,
"rust-analyzer.imports.granularity.enforce": true, "rust-analyzer.check.noDefaultFeatures": true,
"rust-analyzer.imports.granularity.group": "module",
"rust-analyzer.procMacro.attributes.enable": false,
"rust-analyzer.procMacro.enable": false,
"rust-analyzer.linkedProjects": [ "rust-analyzer.linkedProjects": [
"examples/rpi-pico-w/Cargo.toml", "examples/rpi-pico-w/Cargo.toml",
], ],