Activate venv in current terminal
This commit is contained in:
parent
4ae67d6aa9
commit
b015c6b21e
2 changed files with 16 additions and 8 deletions
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue