This repo defines a devcontainer for writing Gleam code in VSCode, particularly using GitHub CodeSpaces.
In order to use this, you'll define a .devcontainer/devcontainer.json
file
in your repo with content that looks something like this
{
"name": "Gleam",
"image": "ghcr.io/stts-code-club/gleam-devcontainer:v0.2",
"customizations": {
"vscode": {
"extensions": [
"tamasfe.even-better-toml",
"gleam.gleam",
"editorconfig.editorconfig",
"github.copilot",
"github.copilot-chat"
]
}
}
}
You can see more instructions here. Having done that, you can easily tell VSCode to edit your code inside the devcontainer.