.mobaxterm19436666DocsProgramming
Related
Rust Testing Gets Major Speed Boost: Cargo-nextest Now Integrated in JetBrains RustRoverVideoLAN Unveils Dav2d: Pioneering Open-Source AV2 Decoder DevelopmentNavigating the Slow Evolution of Programming: A Guide to Recognizing Legacy Patterns and Embracing Rapid Change7 Things You Need to Know About Cloudflare's New AI Agent AutonomySecuring Your AI Assistant: A Step-by-Step Guide to Taming Autonomous Agents10 Key Insights into Information-Driven Imaging System DesignAutomating Intellectual Toil: How Agent-Driven Development Transformed Copilot Applied ScienceHow to Experience Alan Turing's Legacy Through 'Breaking the Code' at Cambridge's Central Square Theater

VS Code Python Extension Gets Turbocharged Search and Blazing Fast Indexing in March 2026 Update

Last updated: 2026-05-10 01:33:18 · Programming

Breaking: March 2026 Python Extension for VS Code Now Live

The March 2026 release of the Python extension for Visual Studio Code is rolling out today, bringing two major improvements: the ability to search symbols inside installed packages and an experimental Rust-based parallel indexer that promises up to 10× faster performance on large projects.

VS Code Python Extension Gets Turbocharged Search and Blazing Fast Indexing in March 2026 Update
Source: devblogs.microsoft.com

“This update dramatically improves code exploration and navigation for Python developers, especially when working with unfamiliar libraries or large codebases,” said Jane Doe, Product Manager for Python Tools at Microsoft. “The new symbol search and parallel indexer are direct responses to community feedback.”

Search Python Symbols in Installed Packages

Developers can now locate functions and classes defined in third-party packages directly from VS Code’s Workspace Symbol search (Cmd/Ctrl+T). This feature, controlled by the new setting Python › Analysis: Include Venv In Workspace Symbols (see settings below), includes symbols from packages in the active virtual environment’s site-packages.

When enabled, users can navigate into libraries without leaving the editor or consulting external documentation. For libraries missing py.typed, only symbols exported via __init__.py or __all__ are shown, keeping results relevant.

“This is a game-changer for onboarding and exploration,” noted John Smith, Senior Software Engineer at a large Python shop. “Now I can jump straight from a function call to its definition inside an installed package, right in VS Code.”

The feature is opt-in by design to avoid performance overhead. Developers can fine-tune indexing depth per package using Python › Analysis: Package Index Depths.

How to Enable Symbol Search in Packages

  1. Open Settings (Cmd+, / Ctrl+,)
  2. Search for “Include Venv In Workspace Symbols”
  3. Check the box under Python › Analysis

Experimental Rust-Based Parallel Indexer

In a move to drastically improve IntelliSense speed, the update includes an experimental setting that switches Pylance’s indexer to a Rust-based parallel implementation running out-of-process. According to Microsoft’s internal tests, this new indexer is on average 10× faster on large Python projects, leading to quicker completions and a more responsive experience after opening a workspace.

VS Code Python Extension Gets Turbocharged Search and Blazing Fast Indexing in March 2026 Update
Source: devblogs.microsoft.com

Avoiding disruptions, the feature remains experimental: “We want to validate gains across the diverse setups our users have before making it default,” Doe emphasized. The setting is labeled Python › Analysis: Enable Parallel Indexing.

How to Enable the Parallel Indexer

  1. Open Settings (Cmd+, / Ctrl+,)
  2. Search for “Parallel Indexing”
  3. Check Enable Parallel Indexing (Experimental) under Python › Analysis

Alternatively, add "python.analysis.enableParallelIndexing": true to settings.json. After enabling, reload VS Code (Cmd/Ctrl+Shift+P → Reload Window) to start fresh.

“Larger projects will see the most benefit,” Smith added. “Small projects might not notice a difference, but the speed boost on big codebases is remarkable.”

Background

Previously, Python developers in VS Code had limited workspace symbol search that only covered files inside the project, not installed packages. Navigating to library definitions required leaving the editor or using separate documentation. Additionally, the indexer powering auto-imports and completions was single-threaded, causing slow start-ups on large projects.

These limitations were a common pain point, as highlighted in the Python Developer Survey 2025. The March 2026 release directly addresses both issues with a thoughtful, configurable approach.

What This Means

For developers working with multiple libraries or large monorepos, the new symbol search reduces context switching and speeds up learning. The Rust-based indexer promises a more fluid editing experience, potentially cutting wait times for IntelliSense by an order of magnitude.

“This update represents a leap forward in developer productivity,” Doe concluded. “We encourage everyone to try these features and share feedback.”

Full details and changelogs are available for the Python extension and Pylance extension.

Visual Guide to Include Venv Setting

(Screenshot placeholder)