You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Task property "presentation": {"reveal": "never"} is not working when Python extension is active #3852
> Executing task in folder uniclave: C:\Users\JMatos\OneDrive\Python\winpython371-32\python-3.7.1\Doc\python371.chm <
Terminal will be reused by tasks, press any key to close it.
I created a simple Task and added the presentation item, hoping that that would allow me to never show the integrated terminal (as it is reported in the doc at https://code.visualstudio.com/docs/editor/tasks#vscode
but it isn't working. It always shows the integrated terminal.
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Py3 Help",
"type": "shell",
"command": "C:\\Python354-32\\Doc\\python354.chm",
"problemMatcher": [],
"presentation": {
"reveal": "never"
}
}
]
}
Don Jayamanne (@DonJayamanne) could you have a look at #65179 before we close this one on our repo. It would seem that the integrated terminal only opens when the Python extension is active...
Please add the following setting "python.terminal.activateEnvironment": false in your workspace settings.json file.
This will ensure the terminal doesn't get activated with the workspace virtual environment.
Activity
d3r3kk commentedon Jan 4, 2019
Issue moved to Microsoft/vscode #66056 via ZenHub
d3r3kk commentedon Jan 4, 2019
Don Jayamanne (@DonJayamanne) could you have a look at #65179 before we close this one on our repo. It would seem that the integrated terminal only opens when the Python extension is active...
jcrmatos commentedon Jan 4, 2019
Hello,
It was me who opened issue #65179 at vscode, but because it only occurs when using the Python extension, I closed it and opened a new issue here.
Thanks,
JM
d3r3kk commentedon Jan 4, 2019
Yes, I didn't realize that bit when I closed it! Thanks, we will have a look and see if there is something we are doing on our end.
DonJayamanne commentedon Jan 8, 2019
Please add the following setting
"python.terminal.activateEnvironment": falsein your workspacesettings.jsonfile.This will ensure the terminal doesn't get activated with the workspace virtual environment.
jcrmatos commentedon Jan 8, 2019
Hello,
I'm sorry but that makes no sense. I want the terminal to activate the venv.
What should not happen is the task to show in terminal if the option
is present.
And this only happens with the Python extension activated.
If I disable it everything works.
Thanks,
JM