Python in Visual Studio Code – March 2025 Release

Table of Contents
- Python shell integration improvements
- New setting for auto test discovery file pattern
- Inline values on hover in Notebooks and Python files
- Automatic quotation insertion when breaking long strings
- Other Changes and Enhancements
Python shell integration improvements
The Python shell integration in Visual Studio Code has been enhanced to allow changes to take effect in the terminal without having to reload the VS Code window. Simply creating a new terminal will now reflect the desired changes in the Python REPL.
New setting for auto test discovery file pattern
Users can now specify a glob pattern in the setting to refine which files auto test discovery occurs on. By default, the value is set to a specific pattern, but can now be adjusted based on project needs. This feature was implemented based on feedback from the community.
Inline values on hover in Notebooks and Python files
Notebook inline values are now truncated to fit within the viewport's width, with a rich hover providing the full value for easier readability. In Python files, inline value decorators are shown with an inline hover, making it easier to read values at a glance. This feature was a highly requested addition to the Python development experience in VS Code.
Automatic quotation insertion when breaking long strings
Automatic quotation insertion has been implemented when breaking long strings in Python files, improving the coding experience by automatically handling quotation marks when splitting strings.
Other Changes and Enhancements
- Windows users who use Gitbash will now see the correct working directory in their terminal prompt.
- Optimizations were made to improve Pylance's memory consumption, particularly in large workspaces.
- Various small enhancements and issue fixes were implemented based on user feedback.
Try out these new improvements by downloading the Python and Jupyter extensions from the Marketplace in Visual Studio Code!