Skip to content

Commit

Permalink
Install additional extensions in Devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Nov 7, 2024
1 parent f1688e2 commit d817f0c
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,17 @@
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"build": {
"context": "..",
"dockerfile": "Dockerfile",
"dockerfile": "Dockerfile"
},

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/mamba-org/devcontainer-features/micromamba:1": {
"envFile": "/opt/environment.yml",
},
},
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",
"postCreateCommand": "bash -c 'source /shell-hook.sh'",

// Configure tool-specific properties.
// "customizations": {},
Expand All @@ -28,7 +24,22 @@
// "remoteUser": "root"

// VSCode extensions
"extensions": [
"ms-python.python",
],
"customizations": {
"vscode": {
"settings": {
"python.pythonPath": "/workspace/jaxsim/.pixi/envs/test-cpu/bin/python",
"python.defaultInterpreterPath": "/workspace/jaxsim/.pixi/envs/test-cpu/bin/python",
"python.terminal.activateEnvironment": true,
"python.terminal.activateEnvInCurrentTerminal": true
},
"extensions": [
"ms-python.python",
"donjayamanne.python-extension-pack",
"ms-toolsai.jupyter",
"GitHub.codespaces",
"ms-azuretools.vscode-docker",
"charliermarsh.ruff"
]
}
}
}

0 comments on commit d817f0c

Please sign in to comment.