Skip to content

Commit

Permalink
Create devcontainer.json (FuelLabs#4377)
Browse files Browse the repository at this point in the history
## Description

This PR adds a configuration for github codespaces, so that anyone can
create a codespace from this repo with forc, cargo, and the Rust & Sway
VSCode plugins installed.

## Checklist

- [ ] I have linked to any relevant issues.
- [ ] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [ ] I have added tests that prove my fix is effective or that my
feature works.
- [ ] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [ ] I have requested a review from the relevant team or maintainers.
  • Loading branch information
sdankel authored Jun 5, 2023
1 parent d5464e0 commit 7470126
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/devcontainers/features/common-utils:1": {},
"ghcr.io/FuelLabs/devcontainer-features/fuelup:1.0.1": {},
"ghcr.io/devcontainers/features/rust:1": {},
},
"customizations": {
"vscode": {
"extensions": [
"fuellabs.sway-vscode-plugin",
"rust-lang.rust-analyzer"
]
}
}
}

0 comments on commit 7470126

Please sign in to comment.