Activate venv in current terminal

This commit is contained in:
emisargent 2023-02-18 01:13:41 +00:00
parent 4ae67d6aa9
commit b015c6b21e
2 changed files with 16 additions and 8 deletions

View file

@ -9,11 +9,18 @@
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/workspaces/flask/.venv/bin/python",
// Settings for the python extension.
"python.defaultInterpreterPath": "${workspaceFolder}/.venv",
"python.terminal.activateEnvInCurrentTerminal": true,
"python.linting.enabled": true,
"python.linting.pylintEnabled": true
}
},
// Installs extensions on container create.
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance"
]
}
},