Don't run "activateEnvironment" command in SSH private terminals
See original GitHub issueThe Remote-SSH extension starts a hidden remote terminal at one point to run some commands. In this issue https://github.com/microsoft/vscode-remote-release/issues/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: https://github.com/microsoft/vscode-remote-release/issues/1760#issuecomment-571225397
Issue Analytics
- State:
- Created 4 years ago
- Reactions:13
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Spike - Don't run "activateEnvironment" command in SSH ...
Spike - Don't run "activateEnvironment" command in SSH private ... Since we only depend on the published packages and don't consume proposed ...
Read more >Visual Studio Code terminal doesn't activate Conda environment
First, open the Anaconda prompt (How to access Anaconda command prompt in Windows 10 (64-bit)), and type: conda activate tom. To activate your...
Read more >Settings Reference for Python - Visual Studio Code
Indicates whether to run a file in the file's directory instead of the current folder. terminal.activateEnvironment, true, Indicates whether to automatically ...
Read more >SSH Essentials: Working with SSH Servers, Clients, and Keys
After connecting, all commands you type in your local terminal are sent to the remote server and executed there. In this cheat sheet-style...
Read more >Rancher CLI Commands and Options
rm, Delete service, container, stack, host, volume ; run, Run services ; scale, Set number of containers to run for a service ;...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We’ve started working on it. #9584
@karrtikr I’ve mentioned to @karthiknadig I have a PR for this. Will push today.