Please make `python-envs.terminal.autoActivationType` syncable to all remotes

Abierto
#1,640 2 comentarios 0 reacciones 1 asignado Ver en GitHub

@edvilme ya está trabajando en esto.

Desde el 5/8/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

The canonical fix for VSCode killing any running process to activate a Python environment after opening a terminal is to set autoActivationType to a non-default value.

The problem is that, at least on my machine, this is per-remote. Below screenshots are on an AWS EC2 instance:

Image Image

This means that every time I start an instance or a new dev container, the first command I run in every terminal is killed until I got change that setting again.

Given that killing running processes indiscriminately is disruptive, I think it would be good to make it possible for a user to change this behavior for good. Otherwise, the only option is "python.terminal.activateEnvironment": false, which isn't ideal either.

Maybe there could be a defaultAutoActivationType setting that syncs, so the user can choose the syncing version or the other at will? Alternatively, setting the default to shellStartup might be less surprising and less likely to cause problems.

A good reason to care about this is that this can cost the user money. In my case, it killed an OpenCode session that had been running for hours, which I discovered too late, leading to a cache miss on the whole conversation when I started it again.

Lenguaje dominante
TypeScript
Estrellas
140
Forks
63
Merge medio
1 d 4 h
PR fusionados (30 d)
35

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/vscode-python-environments

Todos los issues de microsoft/vscode-python-environments

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.