"The activation of the Python Environments extension is now noticeably snappier, particularly in remote and containerized workspaces, due to key changes in the startup process."
"Lazy manager discovery allows for the deferral of environment detection until user interaction, eliminating unnecessary work for users who primarily use venv, uv, or conda."
"The default search pattern for virtual environments has been adjusted to .venv and */.venv, preventing long delays during configuration in large projects."
"PET crash recovery has been improved, allowing the extension to retry refreshes after a crash and handle empty or malformed responses, ensuring a stable environment list."
The April 2026 update to the Python Environments extension for Visual Studio Code improves startup performance and reliability. Key changes include lazy manager discovery, faster environment resolution, and narrower default workspace scanning. Lazy manager discovery defers the detection of Pipenv, pyenv, and poetry environments until needed, reducing unnecessary startup work. The environment resolution process is optimized for quicker interpreter readiness. Additionally, the default search pattern for virtual environments has been narrowed to prevent long delays in large projects, enhancing overall user experience and efficiency.
Read at Microsoft for Python Developers Blog
Unable to calculate read time
Collection
[
|
...
]