forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-terminalbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggood first issue
Description
Environment data
- VS Code version: 1.52
- Extension version (available under the Extensions sidebar): v2020.12.424452561
- OS and version: windows 10
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.8
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): XXX
- Relevant/affected Python packages and their versions: XXX
- Relevant/affected Python-related VS Code extensions and their versions: XXX
- Value of the
python.languageServersetting: Pylance
[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
I hope to be in the directory where the code file is located every time I run it. After setting "python.terminal.executeInFileDir": true, if the file to be run is in the parent directory of the current path, the directory will not be automatically switched.
Metadata
Metadata
Assignees
Labels
area-terminalbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggood first issue