- 
                Notifications
    
You must be signed in to change notification settings  - Fork 35.9k
 
Closed
Labels
terminalGeneral terminal issues that don't fall under another labelGeneral terminal issues that don't fall under another label
Description
- VSCode Version: 1.45.1
 - OS Version: Debian 10 buster
 
This occurs the next time you open vscode if you leave the integrated terminal window open when exiting vscode.
Steps to Reproduce:
- create a new python project
 
mkdir vscode_bug_project
cd vscode_bug_project/
touch foo.py
- create a python virtual environment 
python3 -m venv env - Set pythonPath variable for vscode
mkdir .vscodenano .vscode/settings.json(set pythonPath as shown below)
 
{
        "python.pythonPath": "env/bin/python",
}
code .- open integrated terminal 
ctrl+`(code correctly sources venv here!) 
- open integrated terminal 
 - Close vscode with integrated terminal open
 code .- integrated terminal is open but has not activated my virtual env
 
While the work around is easy enough (ctrl+d to close then ctrl+` to reopen integrated terminal which then automatically activates the venv). It is rather frustrating as my first error is a python2->3 syntax problem when starting development everyday, since I forget to close then reopen the integrated terminal or manually activate my venv.
Is there a variable that I can set to automatically kill the integrated terminal on exit?
Does this issue occur when all extensions are disabled?: Yes
Metadata
Metadata
Assignees
Labels
terminalGeneral terminal issues that don't fall under another labelGeneral terminal issues that don't fall under another label