forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsarea-terminalinfo-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.106.3
- OS Version: ubuntu budgie 24.04.03 + x11 + 6.14.0-35-generic
Steps to Reproduce:
- create .vscode
- settings launch.json
{ "version": "0.2.0", "configurations": [ { "name": "Python Debugger: Current File", "type": "debugpy", "python": "/opt/pyenv/erp19py3.13/bin/python3", "request": "launch", "program": "${file}", "console": "integratedTerminal" }, { "name": "ERP19Linux", "type": "debugpy", "python": "/opt/pyenv/erp19py3.13/bin/python3", "request": "launch", "program": "${workspaceFolder}/odoo-bin", "args": [ "-c", "${workspaceFolder}/odoo.conf", // "-u", // "estate", // "--dev=xml" ], "console": "integratedTerminal", "justMyCode": false, }, ] } - settings launch.json
{ "cSpell.words": [ "odoo", "logfile" ], "terminal.integrated.profiles.linux": { "pyenv": { "path": "bash", "args": [ "-c", "source /opt/pyenv/erp19py3.13/bin/activate; exec bash -i" ] } }, "terminal.integrated.defaultProfile.linux": "pyenv", "python.terminal.activateEnvironment": false, "python.defaultInterpreterPath": "/opt/pyenv/erp19py3.13/bin/python" }
####################### Expected result ################
- Opening VS Code should activate the corresponding virtual environment
- Ctrl+shit+p displays the corresponding virtual environment when manually entering a path
Metadata
Metadata
Assignees
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsarea-terminalinfo-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team