Skip to content

Don't run "activateEnvironment" command in SSH private terminals #9503

@roblourens

Description

@roblourens

The Remote-SSH extension starts a hidden remote terminal at one point to run some commands. In this issue microsoft/vscode-remote-release#1760 people reported that the terminal was being shown to them, when it should never be shown because it sets a flag to be hidden. We realized that it is shown because this extension runs a command in it, and setting this setting fixes it:

"python.terminal.activateEnvironment": false

It sounds like the Python extension should be able to know that these terminals are not terminals in the user's workspace, and should not touch them: microsoft/vscode-remote-release#1760 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-environmentsFeatures relating to handling interpreter environmentsarea-terminalbugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions