Skip to content

Commit 46bd343

Browse files
committed
Modernize file format
1 parent 1943b3a commit 46bd343

File tree

1 file changed

+44
-6
lines changed

1 file changed

+44
-6
lines changed

.devcontainer.json

Lines changed: 44 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,45 @@
1+
// Visual Studio Code Development Container configuration file
2+
// https://code.visualstudio.com/docs/remote/devcontainerjson-reference
13
{
2-
"dockerFile": "Dockerfile",
3-
"extensions": [
4-
"knisterpeter.vscode-github",
5-
"github.vscode-pull-request-github"
6-
]
7-
}
4+
// Docker build instructions
5+
"name": "Docker foundations",
6+
"build": {
7+
"dockerfile": "Dockerfile"
8+
},
9+
"customizations": {
10+
"vscode": {
11+
// Visual Studio Code extensions
12+
"extensions": [
13+
"davidanson.vscode-markdownlint",
14+
"github.vscode-github-actions",
15+
"github.vscode-pull-request-github",
16+
"ms-python.flake8",
17+
"ms-python.pylint",
18+
"ms-python.python",
19+
"ms-python.vscode-pylance",
20+
"ms-azuretools.vscode-docker",
21+
"redhat.vscode-yaml",
22+
"streetsidesoftware.code-spell-checker"
23+
],
24+
// Visual Studio Code environment configuration
25+
"settings": {
26+
// Set the default terminal application to bash
27+
"#terminal.integrated.defaultProfile.linux#": "/bin/bash",
28+
// Customize YAML formatting
29+
"[yaml]": {
30+
"editor.insertSpaces": true,
31+
"editor.tabSize": 2,
32+
"editor.autoIndent": "keep",
33+
"editor.quickSuggestions": {
34+
"other": true,
35+
"comments": false,
36+
"strings": true
37+
}
38+
},
39+
// Set Python configuration for runtime, syntax analysis, and linting
40+
"python.analysis.useImportHeuristic": true,
41+
"python.pythonPath": "/usr/local/bin/python3"
42+
}
43+
}
44+
}
45+
}

0 commit comments

Comments
 (0)