From 10eacba7e29fdba9a3535e21bcb9eaaa73554091 Mon Sep 17 00:00:00 2001 From: Spenser Black Date: Mon, 21 Oct 2024 18:44:02 -0400 Subject: [PATCH] Add devcontainer config (#541) * Add devcontainer config * Open files by default in codespace * Open `languages.json` --- .devcontainer/devcontainer.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..a0f84729 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,21 @@ +{ + "name": "Go", + "image": "mcr.microsoft.com/devcontainers/go:1.22", + "customizations": { + "codespaces": { + "openFiles": [ + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", + "README.md", + "languages.json" + ] + }, + "vscode": { + "extensions": ["golang.go"], + "settings": { + "go.gopath": "/go" + } + } + }, + "remoteUser": "vscode" +}