Skip to content

Commit

Permalink
chore: Add devcontainer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mircea-pavel-anton committed Aug 11, 2024
1 parent f38fab9 commit 4411ba5
Showing 1 changed file with 102 additions and 0 deletions.
102 changes: 102 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"name": "kube-switcher",
"image": "mcr.microsoft.com/devcontainers/go:1.22-bookworm",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/audacioustux/devcontainers/taskfile:1": {},
"ghcr.io/devcontainers/features/kubectl-helm-minikube": {},
"ghcr.io/dhoeric/features/k9s:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"remoteUser": "vscode",
"containerUser": "vscode",
"updateRemoteUserUID": true,
"customizations": {
"vscode": {
"extensions": [
"golang.go",
"aaron-bond.better-comments",
"ms-azuretools.vscode-docker",
"davidanson.vscode-markdownlint",
"albert.TabOut",
"mhutchie.git-graph",
"bierner.emojisense",
"redhat.vscode-yaml",
"pkief.material-icon-theme",
"task.vscode-task",
"GitHub.copilot",
"foxundermoon.shell-format",
"DavidAnson.vscode-markdownlint"
],
"settings": {
"editor.fontFamily": "Cascadia Code",
"editor.fontSize": 14,
"editor.fontLigatures": true,
"editor.cursorBlinking": "phase",
"editor.bracketPairColorization.enabled": true,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.guides.bracketPairs": true,
"editor.guides.bracketPairsHorizontal": true,
"editor.guides.highlightActiveBracketPair": true,
"editor.hover.delay": 500,
"editor.renderWhitespace": "boundary",
"editor.rulers": [
150,
200
],
"editor.stickyScroll.enabled": false,
"explorer.autoReveal": false,
"files.associations": {
"**/*.json5": "jsonc"
},
"files.trimTrailingWhitespace": true,
"editor.formatOnSave": true,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
"workbench.iconTheme": "material-icon-theme",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml",
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "keep",
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
}
},
"[go]": {
"editor.defaultFormatter": "golang.go",
"editor.insertSpaces": false,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
}
},
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format",
"files.eol": "\n"
},
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
"editor.wordWrap": "on"
},
"[dockerfile]": {
"editor.defaultFormatter": "ms-azuretools.vscode-docker",
"editor.quickSuggestions": {
"strings": true
}
}
}
}
}
}

0 comments on commit 4411ba5

Please sign in to comment.