Skip to content

Commit

Permalink
Update devcontainer extensions (#111)
Browse files Browse the repository at this point in the history
* feat: Update devcontainer extensions

* docs: Update changelog

* feat: Remove more extensions

* feat: Add extension.json

* feat: Duplicate ra settings for devcontainers
  • Loading branch information
SergioGasquez authored Feb 12, 2025
1 parent a927531 commit 7233527
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Options can now declare negative requirements (e.g. `!alloc` can not be enabled if `alloc` is used) (#101)
- Template settings are now described in a template-specific `yaml` file (#103)
- Test cases are now generated from template settings (#106)
- Migrated deprecated `serayuzgur.crates` to `fill-labs.dependi` vscode extension in devcontainer config
- Updated and removed some unused extensions (#109, #111)

### Fixed

Expand Down
26 changes: 18 additions & 8 deletions template/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,31 @@
"files.watcherExclude": {
"**/target/**": true
},
"rust-analyzer.checkOnSave.command": "clippy",
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.cargo.allTargets": false,
//REPLACE riscv32imac-unknown-none-elf rust_target
"rust-analyzer.cargo.target": "riscv32imac-unknown-none-elf",
//IF option("xtensa")
"rust-analyzer.server.extraEnv": {
"RUSTUP_TOOLCHAIN": "stable"
},
"rust-analyzer.check.extraEnv": {
"RUSTUP_TOOLCHAIN": "esp"
},
"rust-analyzer.cargo.extraEnv": {
"RUSTUP_TOOLCHAIN": "esp"
},
//ENDIF
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
}
},
"extensions": [
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
"fill-labs.dependi",
"mutantdino.resourcemonitor",
"yzhang.markdown-all-in-one",
"ms-vscode.cpptools",
"actboy168.tasks",
"Wokwi.wokwi-vscode"
//IF option("wokwi")
"Wokwi.wokwi-vscode",
//ENDIF
"fill-labs.dependi"
]
}
},
Expand Down
11 changes: 11 additions & 0 deletions template/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//INCLUDEFILE vscode
{
"recommendations": [
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
//IF option("wokwi")
"Wokwi.wokwi-vscode",
//ENDIF
"fill-labs.dependi"
]
}

0 comments on commit 7233527

Please sign in to comment.