forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
Environment data
- VS Code version: 1.44.0
- Extension version (available under the Extensions sidebar): 2020.3.71659
- OS and version: Windows 10 ver.1909
- Python version (& distribution if applicable, e.g. Anaconda): 3.7.7
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
- Relevant/affected Python packages and their versions: (None)
- Relevant/affected Python-related VS Code extensions and their versions: (None)
- Jedi or Language Server? (i.e. what is
"python.jediEnabled"set to; more info How to update the language server to the latest stable version #3977): True - Value of the
python.languageServersetting: Microsoft
Expected behaviour
If 'terminal.integrated.shell.windows' is set in XXX.code-workspace file, it overrides the same value of user level setting.
Actual behaviour
Python launches on 'terminal.integrated.shell.windows' of user setting, and it ignores 'terminal.integrated.shell.windows' of workspace setting.
Steps to reproduce:
- Set workspace
Createtest.code-workspaceas the following;
{
"folders": [
{
"path": "."
}
],
"settings": {
"terminal.integrated.shell.windows": "${env:SystemRoot}\\system32\\cmd.exe"
}
}-
Open this workspace from menu [Open Workspace]
-
Open terminal (i.e.
[Ctrl]+[j])
Command Prompt is opened.
Select [Allow], if VSC shows the message about 'Terminal change'.
-
Change default terminal to
PowerShellin terminal menu 'Select Default Shell' -
Open terminal again (i.e.
[+]button of terminal window top)
Command Prompt is opened.
- Open python code on editor and start debug (i.e.
[F5])
Python launches on PowerShell
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug