Skip to content

Commit a890302

Browse files
committed
chore: add some more extensions to devcontainer and extensions.json
1 parent e9b6431 commit a890302

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

.devcontainer/devcontainer.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,36 @@
33
{
44
"name": "robotcode devcontainer",
55
"image": "ghcr.io/d-biehl/robocode-dev:latest",
6-
76
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
87
//"build": {
98
// "dockerfile": "Dockerfile"
109
//},
11-
1210
// Features to add to the dev container. More info: https://containers.dev/features.
1311
// "features": {},
14-
1512
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1613
// "forwardPorts": [],
17-
1814
// Use 'postCreateCommand' to run commands after the container is created.
1915
"postCreateCommand": "bash -i -c 'npm install --also-dev && hatch config set dirs.env.virtual .hatch && hatch env create devel'",
20-
2116
// Configure tool-specific properties.
2217
// "customizations": {},
23-
2418
// Uncomment to connect as root instead. More info: https://aka.ms/dev-je+-containers-non-root.
2519
"remoteUser": "vscode",
2620
"customizations": {
2721
"vscode": {
2822
"extensions": [
2923
"ms-python.python",
30-
"charliermarsh.ruff",
3124
"esbenp.prettier-vscode",
3225
"dbaeumer.vscode-eslint",
33-
"tamasfe.even-better-toml"
26+
"tamasfe.even-better-toml",
27+
"gruntfuggly.todo-tree",
28+
"charliermarsh.ruff",
29+
"ms-python.black-formatter",
30+
"ms-python.mypy-type-checker"
3431
],
3532
"settings": {
36-
"python.testing.pytestArgs": ["tests"],
33+
"python.testing.pytestArgs": [
34+
"tests"
35+
],
3736
"python.testing.unittestEnabled": false,
3837
"python.testing.pytestEnabled": true,
3938
"files.exclude": {
@@ -57,7 +56,9 @@
5756
"python.terminal.activateEnvInCurrentTerminal": true,
5857
"python.formatting.provider": "black",
5958
"python.analysis.completeFunctionParens": true,
60-
"python.linting.mypyArgs": ["--show-column-numbers"],
59+
"python.linting.mypyArgs": [
60+
"--show-column-numbers"
61+
],
6162
"prettier.printWidth": 120,
6263
"prettier.tabWidth": 4,
6364
"eslint.alwaysShowStatus": true,
@@ -72,4 +73,4 @@
7273
}
7374
}
7475
}
75-
}
76+
}

.vscode/extensions.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"ms-python.python",
66
"esbenp.prettier-vscode",
77
"dbaeumer.vscode-eslint",
8-
"tamasfe.even-better-toml"
8+
"tamasfe.even-better-toml",
9+
"gruntfuggly.todo-tree",
10+
"charliermarsh.ruff",
11+
"ms-python.black-formatter",
12+
"ms-python.mypy-type-checker"
913
]
1014
}

0 commit comments

Comments
 (0)