diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 504a840d..5ee3efd0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -8,10 +8,9 @@ // Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.17 // Append -bullseye or -buster to pin to an OS version. // Use -bullseye variants on local arm64/Apple Silicon. - "VARIANT": "1.19-bullseye", + "VARIANT": "1.20-bullseye", // Options: - "POSH_THEME": "/workspaces/oh-my-posh/themes/jandedobbeleer.omp.json", // Override me with your own timezone: @@ -26,59 +25,53 @@ }, "runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"], - // Set *default* container specific settings.json values on container create. - "settings": { - "go.toolsManagement.checkForUpdates": "local", - "go.useLanguageServer": true, - "go.gopath": "/go", - "go.goroot": "/usr/local/go", - "terminal.integrated.profiles.linux": { - "bash": { - "path": "bash" + "customizations": { + "vscode": { + "settings": { + "go.toolsManagement.checkForUpdates": "local", + "go.useLanguageServer": true, + "go.gopath": "/go", + "go.goroot": "/usr/local/go", + "terminal.integrated.profiles.linux": { + "bash": { + "path": "bash" + }, + "zsh": { + "path": "zsh" + }, + "fish": { + "path": "fish" + }, + "tmux": { + "path": "tmux", + "icon": "terminal-tmux" + }, + "pwsh": { + "path": "pwsh", + "icon": "terminal-powershell" + } + }, + "terminal.integrated.defaultProfile.linux": "pwsh", + "terminal.integrated.defaultProfile.windows": "pwsh", + "terminal.integrated.defaultProfile.osx": "pwsh", + "tasks.statusbar.default.hide": true }, - "zsh": { - "path": "zsh" - }, - "fish": { - "path": "fish" - }, - "tmux": { - "path": "tmux", - "icon": "terminal-tmux" - }, - "pwsh": { - "path": "pwsh", - "icon": "terminal-powershell" - } - }, - "terminal.integrated.defaultProfile.linux": "pwsh", - "terminal.integrated.defaultProfile.windows": "pwsh", - "terminal.integrated.defaultProfile.osx": "pwsh", - "tasks.statusbar.default.hide": true + "extensions": [ + "actboy168.tasks", + "eamodio.gitlens", + "bungcip.better-toml", + "davidanson.vscode-markdownlint", + "editorconfig.editorconfig", + "esbenp.prettier-vscode", + "github.vscode-pull-request-github", + "golang.go", + "ms-vscode.powershell", + "redhat.vscode-yaml", + "yzhang.markdown-all-in-one", + "ms-azuretools.vscode-azurefunctions" + ] + } }, - - // Add the IDs of extensions you want installed when the container is created. - "extensions": [ - "actboy168.tasks", - "eamodio.gitlens", - "bungcip.better-toml", - "davidanson.vscode-markdownlint", - "editorconfig.editorconfig", - "esbenp.prettier-vscode", - "github.vscode-pull-request-github", - "golang.go", - "ms-vscode.powershell", - "redhat.vscode-yaml", - "yzhang.markdown-all-in-one", - "ms-azuretools.vscode-azurefunctions" -], - - // Use 'forwardPorts' to make a list of ports inside the container available locally. - // "forwardPorts": [3000], - - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "go version", - // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode" }