Skip to content

Terminal profile settings are not respected when launching scripts #21960

@ghost

Description

Type: Bug

Behaviour

Expected vs. Actual

Expected:
Pressing F10 to run any Python file in an integrated Terminal while respecting the Terminal profile settings defined in the terminal.integrated.profiles.linux

Actual:
Newly created Terminal does not respect the settings defined in the terminal.integrated.profiles.linux

Steps to reproduce:

  1. Define any settings in terminal.integrated.profiles.linux, I have the following:
"fish": {
            "path": "fish",
            "env": {
                "fish_history": ""
            }
        }
  1. Open up any .py file and press F10 to run
  2. Observe if the env settings took effect

Diagnostic data

  • Python version (& distribution if applicable, e.g. Anaconda): 3.10.12
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Poetry
  • Value of the python.languageServer setting: Default
Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings


languageServer: "Pylance"

testing
• unittestEnabled: true

Extension version: 2023.17.12541009
VS Code version: Code 1.82.0 (8b617bd08fd9e3fc94d14adb8d358b56e3f72314, 2023-09-06T22:07:18.759Z)
OS version: Linux x64 6.2.0-32-generic
Modes:

Metadata

Metadata

Assignees

Labels

triage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions