Skip to content

Commit 1f458d6

Browse files
committed
Add vscode config to dev container
1 parent 823d175 commit 1f458d6

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.devcontainer/devcontainer.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,22 @@
33
{
44
"name": "Python 3",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye"
7-
6+
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
87
// Features to add to the dev container. More info: https://containers.dev/features.
98
// "features": {},
10-
119
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1210
// "forwardPorts": [],
13-
1411
// Use 'postCreateCommand' to run commands after the container is created.
1512
// "postCreateCommand": "pip3 install --user -r requirements.txt",
16-
1713
// Configure tool-specific properties.
18-
// "customizations": {},
19-
14+
"customizations": {
15+
"vscode": {
16+
"extensions": [
17+
"ms-python.python",
18+
"ms-python.pylint"
19+
]
20+
}
21+
}
2022
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
2123
// "remoteUser": "root"
22-
}
24+
}

0 commit comments

Comments
 (0)