microsoft / microsoft/vscode-python-environments
What is the global environment for?
@StellaHuang95 ya está trabajando en esto.
Desde el 30/4/2026.
- Lenguaje dominante
- TypeScript
- Estrellas
- 138
- Forks
- 62
- Merge medio
- 1 d 4 h
- PR fusionados (30 d)
- 35
Descripción
Hi, using my hatch environment extension, I ran into an usability issue: there are extensions that use the global Python environment such `ruff` and `ty`.
When setting a workspace environment, these extensions still use the global env, for which there is no clear indicator in the UI. How should this be fixed:
- should my extension just also set the global environment whenever setting a project-scoped environment?
- should these extensions be changed so they stop using `api.environments.onDidChangeActiveEnvironmentPath`, which seems to track the global environment?
Maybe I just don’t really know what the `'global'` scope is for … any guidance?
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.