Files
2026-09-25 14:42:21 +00:00

46 lines
1.4 KiB
JSON

{
"image": "mcr.microsoft.com/devcontainers/base:alpine-3.20",
"customizations": {
"vscode": {
"extensions": ["ms-vscode.live-server"],
"settings": {
// Hide workspace files to make it seem like a blank working environment
"files.exclude": {
"**/.git": true,
"**/.codespaces": true,
"**/exercise-monitor.log": true,
// This variable is not dynamic. It is replaced by workflow 0-start-exercise.yml
"**/skills-introduction-to-git": true
},
// Don't compact folders, so structure is more obvious
"explorer.compactFolders": false,
// Open in regular browser
"livePreview.openPreviewTarget": "External Browser",
"livePreview.serverRoot": "stack-overflown/src",
// Hide publish button
"git.showActionButton": {
"publish": false
},
// Don't show notification when devcontainer.json is removed
"github.codespaces.devcontainerChangedNotificationStyle": "none",
// Show everything for Git graph
"scm.graph.showIncomingChanges": true,
"scm.graph.showOutgoingChanges": true,
"scm.defaultViewMode": "tree",
"scm.graph.badges": "all"
}
}
},
"workspaceFolder": "/workspaces",
"postCreateCommand": "./${RepositoryName}/.devcontainer/post-create.sh",
"postStartCommand": "./${RepositoryName}/.devcontainer/post-start.sh"
}