Python in Visual Studio Code - November 2025 Release - Microsoft for Python Developers Blog
Briefly

Python in Visual Studio Code - November 2025 Release - Microsoft for Python Developers Blog
"You can now add your AI-generated documentation directly into your code as a docstring using the new Add as docstring command in Copilot Hover Summaries. When you generate a summary for a function or class, navigate to the symbol definition and hover over it to access the Add as docstring command, which inserts the summary below your cursor formatted as a proper docstring. This streamlines the process of documenting your code, allowing you to quickly enhance readability and maintainability without retyping."
"Localized Copilot Hover Summaries GitHub Copilot Hover Summaries inside Pylance now respect your display language within VS Code. When you invoke an AI-generated summary, you'll get strings in the language you've set for your editor, making it easier to understand the generated documentation. Convert wildcard imports into Code Action Wildcard imports (from module import *) are often discouraged in Python because they can clutter your namespace and make it unclear where names come from, reducing code clarity and maintainability."
"Pylance now helps you clean up modules that still rely on from module import * via a new Code Action. It replaces the wildcard with the explicit symbols, preserving aliases and keeping the import to a single statement. To try it out, you can click on the line with the wildcard import and press Ctrl + . (or Cmd + . on macOS) to select the Convert to explicit imports Code Action."
November 2025 Python extension for Visual Studio Code introduces several productivity and localization improvements. Users can insert AI-generated Copilot Hover Summaries directly as properly formatted docstrings using the Add as docstring command. GitHub Copilot Hover Summaries within Pylance now honor the VS Code display language, producing localized strings for generated documentation. Pylance adds a Convert to explicit imports Code Action to replace from module import * with explicit symbol imports while preserving aliases and keeping a single import statement. The release also adds debugger support for multiple interpreters via the Python Environments Extension. Full changelogs list additional improvements.
[
|
]