4 Essential Updates in the November 2025 Python VS Code Release
<p>The November 2025 release of the Python extension for Visual Studio Code has arrived, bringing a set of powerful enhancements that streamline coding, documentation, and debugging. From AI‑powered docstring generation to smarter import management, this update is packed with features that every Python developer should know. Below, we break down the four most impactful changes that will boost your productivity and code quality.</p>
<h2 id="add-copilot-hover-summaries-as-docstring">1. Add Copilot Hover Summaries as Docstring</h2>
<p>GitHub Copilot now lets you insert AI‑generated documentation directly into your code as proper docstrings. When you hover over a function or class definition, the hover summary includes an <em>Add as docstring</em> command. Click it, and the summary is placed below your cursor, formatted as a standard docstring. This eliminates the need to manually retype or reformat AI suggestions, making it easier to keep your code documented. The feature accelerates the documentation workflow, enhancing both readability and maintainability without extra effort.</p><figure style="margin:20px 0"><img src="https://devblogs.microsoft.com/python/wp-content/uploads/sites/12/2025/11/pylance-add-hover-summaries-as-docstring.gif" alt="4 Essential Updates in the November 2025 Python VS Code Release" style="width:100%;height:auto;border-radius:8px" loading="lazy"><figcaption style="font-size:12px;color:#666;margin-top:5px">Source: devblogs.microsoft.com</figcaption></figure>
<h2 id="localized-copilot-hover-summaries">2. Localized Copilot Hover Summaries</h2>
<p>GitHub Copilot’s hover summaries inside Pylance now respect your VS Code display language. If you have set your editor to a language such as French, German, or Japanese, the AI‑generated summaries will appear in that language. This localization makes the tool more accessible for non‑English speakers, allowing you to understand generated documentation in your preferred language. The change is seamless—simply set your display language in VS Code’s settings, and all summaries will automatically adapt.</p>
<h2 id="convert-wildcard-imports-code-action">3. Convert Wildcard Imports into Code Action</h2>
<p>Wildcard imports (<code>from module import *</code>) are widely discouraged because they pollute the namespace and reduce code clarity. The new Pylance release introduces a Code Action that automatically converts these wildcards into explicit imports. Place your cursor on a line with a wildcard import, press <kbd>Ctrl+.</kbd> (or <kbd>Cmd+.</kbd> on macOS), and select <em>Convert to explicit imports</em>. The action preserves aliases and keeps everything in a single import statement, helping you modernize legacy code modules with minimal effort.</p><figure style="margin:20px 0"><img src="https://uhf.microsoft.com/images/microsoft/RE1Mu3b.png" alt="4 Essential Updates in the November 2025 Python VS Code Release" style="width:100%;height:auto;border-radius:8px" loading="lazy"><figcaption style="font-size:12px;color:#666;margin-top:5px">Source: devblogs.microsoft.com</figcaption></figure>
<h2 id="debugger-multiple-interpreters">4. Debugger Support for Multiple Interpreters via Python Environments Extension</h2>
<p>The Python Debugger now integrates with the Python Environments Extension to recognize separate interpreters for each project in a workspace. If you work with multiple folders—each configured with its own Python version—the debugger will automatically use the interpreter shown in the status bar for debugging. To activate this functionality, set <code>"python.useEnvironmentsExtension": true</code> in your user settings. This improvement is especially valuable for monorepos or multi‑project setups where different environments need to be isolated. Report any issues to the Python Debugger repository.</p>
<h2 id="other-enhancements">More Small but Welcome Improvements</h2>
<p>Beyond these headline features, the release includes several smaller enhancements and bug fixes requested by the community. Among them is a fix for unexpected blocking delays during debugging sessions. These refinements build on the overall stability and user experience, ensuring that your Python development in VS Code remains smooth and reliable. For the complete changelog, visit the Python and Pylance extension pages.</p>
<p>Whether you’re a seasoned Pythonista or just starting, these updates make coding more efficient and enjoyable. Update your Python extension today and try out the new capabilities—from AI‑powered docstrings to smarter debugging across multiple interpreters.</p>