VS Code Python Extension Update: Enhanced Symbol Search and Faster Indexing (March 2026)

By

Introduction

The March 2026 release of the Python extension for Visual Studio Code introduces two major improvements: the ability to search for Python symbols in installed packages and an experimental Rust-based parallel indexer. These updates aim to boost developer productivity when navigating large codebases or unfamiliar libraries. Below, we break down each feature and explain how to enable them.

VS Code Python Extension Update: Enhanced Symbol Search and Faster Indexing (March 2026)
Source: devblogs.microsoft.com

When working on a new project or exploring an unfamiliar library, quickly finding where a function or class is defined is essential—even if that code resides outside your current workspace. With this release, Pylance now supports searching symbols from packages installed in your active virtual environment via the Workspace Symbol search (Cmd/Ctrl+T).

How It Works

The feature is controlled by a new setting called Python › Analysis: Include Venv In Workspace Symbols. When enabled, Workspace Symbol search will surface symbols from packages located in your active virtual environment's site-packages directory. This means you can navigate into third-party libraries without leaving VS Code or consulting external documentation.

To keep results focused, the indexer only includes symbols exported via __init__.py or __all__ for libraries that lack py.typed markers. This ensures that the search remains relevant without overwhelming you with internal implementation details.

Performance Considerations

Because indexing installed packages can affect performance, this feature is opt-in by default. You can further fine-tune the depth of indexing on a per-package basis using the Python › Analysis: Package Index Depths setting. This allows you to control how deeply Pylance searches into sub‑modules for each package, balancing richness of code exploration against responsiveness.

How to Enable

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

Experimental: Rust-Based Parallel Indexer

The second headline feature is an experimental setting that replaces Pylance’s existing indexer—the engine behind completions, auto-imports, and workspace symbol search—with a new Rust-based parallel implementation that runs out-of-process. In internal testing, this new indexer delivers on average 10× faster performance on large Python projects, meaning faster completions after workspace open and a more responsive IntelliSense experience overall.

VS Code Python Extension Update: Enhanced Symbol Search and Faster Indexing (March 2026)
Source: devblogs.microsoft.com

How It Works

The setting is called Python › Analysis: Enable Parallel Indexing. This is intentionally an experimental option—the team wants to validate performance gains and reliability across the wide variety of project setups and environments before making it the default.

How to Enable

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

Alternatively, you can add the following line to your settings.json:

"python.analysis.enableParallelIndexing": true

After enabling, reload VS Code (Cmd/Ctrl+Shift+P → Reload Window) to ensure the new indexer starts cleanly. This setting has the most impact on larger projects—small projects may see little difference.

Conclusion

The March 2026 release of the Python extension for VS Code brings meaningful improvements for developers working with large codebases or complex dependencies. The opt-in package symbol search makes navigating third-party libraries more convenient, while the experimental Rust-based parallel indexer promises a significant speed boost for IntelliSense operations. We encourage you to try both features and provide feedback to help shape future releases.

Tags:

Related Articles

Recommended

Discover More

Navigating Netflix’s Ad-Supported Plan: What the Expansion Means for SubscribersShiveluch: Kamchatka's Most Active Volcano in a Q&A Deep DiveHow Your 2025 Wrapped Highlights Are Generated: A Tech Deep DiveAWS Innovations Q&A: Bedrock Agent Payments, Agent Toolkit, and More (May 2026)Mars ESCAPADE Mission: Scientist Reveals Urgent Plans for Dual-Orbiter Probe Ahead of 2024 Launch