Python in Visual Studio Code – April 2025 Release

We’re excited to announce the April 2025 release of thePython,Pylance andJupyter extensions for Visual Studio Code!
This release includes the following announcements:
- Enhanced Python development using Copilot and Notebooks
- Improved support for editable installs
- Faster and more reliable diagnostic experience (Experimental)
- Pylance custom Node.js arguments
If you’re interested, you can check the full list of improvements in our changelogs for thePython,Jupyter andPylance extensions.
Enhanced Python development using Copilot and Notebooks
The latest improvements to Copilot aim to simplify notebook workflows for Python developers. Sign in to a GitHub account touse Copilot for free in VS Code!
Copilot now supports editing notebooks, using both edit mode and agent mode, so you can effortlessly modify content across multiple cells, insert and delete cells, and adjust cell types—all without interrupting your flow.
VS Code also now supports a new tool for creating Jupyter notebooks using Copilot. This feature plans and creates notebooks based on your query and is supported in all of the various Copilot modes:
- Edit mode with
chat.edits2.enabled:true
enabled. - Agent mode for autonomous peer programming.
- Ask mode utilizing the
/newNotebook
command for quick notebook creation tailored to your project needs.
Lastly, you can now add notebook cell outputs, such as text, errors, and images, directly to chat as context. Use theAdd cell output to chat action, available via the triple-dot menu or by right-clicking the output. This lets you reference the output when using ask, edit, or agent mode, making it easier for the language model to understand and assist with your notebook content.
These updates expand Copilot support for Python developers in the Notebook ecosystem enhancing your development workflow no matter the file type.
Improved support for editable installs
Pylance now supports resolving import paths for packages installed in editable mode (pip install -e .
) as defined byPEP 660 which enables an improved IntelliSense experience in scenarios such as local development of packages or collaborating on open source projects.
This feature is enabled viasetting(python.analysis.enableEditableInstalls:true)
and we plan to start rolling it out as the default experience throughout this month. If you experience any issues, please report them at thePylance GitHub repository.
Faster and more reliable diagnostic experience (Experimental)
In this release, we are rolling out a new update to enhance the accuracy and responsiveness of Pylance’s diagnostics. This update is particularly beneficial in scenarios involving multiple open or recently closed files.
If you do not want to wait for the roll out, you can setsetting(python.analysis.usePullDiagnostics:true)
. If you experience any issues, please report them at thePylance GitHub repository.
Pylance custom Node.js arguments
You can now pass custom Node.js arguments directly to Node.js with the newsetting(python.analysis.nodeArguments)
setting, when usingsetting(python.analysis.nodeExecutable)
. By default, the setting is configured as"--max-old-space-size=8192"
. However, you can adjust this value to better suit your needs. For instance, increasing the memory allocation can be helpful when working with large workspaces in Node.js.
Additionally, when settingsetting(python.analysis.nodeExecutable)
toauto
, Pylance now automatically downloads Node.js.
We would also like to extend special thanks to this month’s contributors:
- @Sclafus Updated
condarc.json
invscode-python#24918 - @pheonix-18 Added Python 2.13-dev to test actions invscode-isort#330
- @Riddhi-Thanki Updated default interpreter description invscode-isort#328
- @apollo13 Update minimum required Python version to Python 3.8 invscode-isort#338
- @aparna0522 Updated packages for extension invscode-isort#332
- @archont94 Fixed selecting
isort
settings from path invscode-isort#386 - @connorads Updated config example invscode-isort#390
- @jicruz96 Do not log traceback if file has
skip_file
comment invscode-isort#416 - @iloveitaly Added tool path so isort works without bundled version invscode-isort#417
Try out these new improvements by downloading thePython extension and theJupyter extension from the Marketplace, or install them directly from the extensions view in Visual Studio Code (Ctrl + Shift + X or ⌘ + ⇧ + X). You can learn more aboutPython support in Visual Studio Code in the documentation. If you run into any problems or have suggestions,please file an issue on thePython VS Code GitHub page.
Author
