add devcontainer config for pr3
commit
9af56cb288
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"name": "HS Mannheim PR3 - Python 3",
|
||||||
|
"build": {
|
||||||
|
"dockerfile": "Dockerfile"
|
||||||
|
},
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"settings": {
|
||||||
|
// Python 3 als Standard im Container
|
||||||
|
"python.defaultInterpreterPath": "/usr/local/bin/python",
|
||||||
|
"python.terminal.activateEnvInSelectedTerminal": true,
|
||||||
|
"terminal.integrated.defaultProfile.linux": "bash"
|
||||||
|
},
|
||||||
|
"extensions": [
|
||||||
|
"ms-python.python", // Python Sprachunterstützung
|
||||||
|
"ms-python.vscode-pylance", // IntelliSense (Auto-Complete)
|
||||||
|
"ms-python.debugpy", // Debugger für PR3 Übungen
|
||||||
|
"njpwerner.autodocstring", // Hilft bei Docstrings (gut für Abgaben)
|
||||||
|
"eamodio.gitlens" // Git-Verlauf direkt im Code
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// Installiert automatisch Abhängigkeiten
|
||||||
|
"postCreateCommand": "if [ -f requirements.txt ]; then pip install -r requirements.txt; fi",
|
||||||
|
|
||||||
|
"remoteUser": "vscode"
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue