New VS Code Python Extension: Smarter Symbol Search and Faster Indexing
Introduction
The March 2026 release of the Python extension for Visual Studio Code brings two powerful enhancements designed to accelerate your development workflow. Whether you're navigating unfamiliar codebases or waiting for IntelliSense to catch up, these updates aim to make your experience smoother and more efficient. Let's dive into the key features.

Search Python Symbols in Installed Packages
When you're working with a new project or exploring an unfamiliar library, quickly finding where a function or class is defined can be a challenge — especially when the code lives outside your workspace. In this release, Pylance extends its Workspace Symbol search (accessible via Cmd/Ctrl+T) to include symbols from packages installed in your active virtual environment.
How It Works
This feature is controlled by a new setting: Python › Analysis: Include Venv In Workspace Symbols. When enabled:
- Workspace Symbol search surfaces symbols from packages in your active virtual environment’s
site-packagesdirectory. - You can navigate into third-party libraries directly from VS Code — no need to switch to external documentation or file browsers.
- For libraries without a
py.typedmarker, only symbols exported via__init__.pyor__all__are included, keeping results focused and relevant.
Performance Considerations
Because indexing installed packages can affect performance, this feature is opt-in by design. You can fine-tune the depth of indexing per package using Python › Analysis: Package Index Depths. This setting controls how deeply Pylance searches into sub-modules, allowing you to balance richness of exploration with responsiveness.
How to Try It
- Open Settings (
Cmd+,on macOS /Ctrl+,on Windows/Linux). - Search for "Include Venv In Workspace Symbols".
- Check the box under Python › Analysis.
This gives you richer code exploration when you need it, without changing the default experience for everyone else.

Experimental: Rust-Based Parallel Indexer
We're shipping an experimental setting that switches Pylance's indexer — the engine behind completions, auto-imports, and workspace symbol search — to a new Rust-based parallel implementation that runs out-of-process. In internal testing, this indexer is on average 10× faster on large Python projects. This means faster completions after opening a workspace and a more responsive IntelliSense experience overall.
Configuration
The setting is found at Python › Analysis: Enable Parallel Indexing. It is intentionally marked as experimental. We want to validate performance gains and reliability across the wide variety of project setups and environments before making it the default.
How to Enable
- Open Settings (
Cmd+,/Ctrl+,). - Search for "Parallel Indexing".
- Check Enable Parallel Indexing (Experimental) under Python › Analysis.
Alternatively, add this 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.
We Want Your Feedback
If you try it and notice faster completions, slower behavior, or any issues, please share your experience. Your feedback will help shape the future of this feature.
Conclusion
The March 2026 release of the Python extension for VS Code brings two notable improvements: enhanced workspace symbol search that includes installed packages, and an experimental Rust-based parallel indexer for significantly faster performance. Both features are opt-in, allowing you to decide when to trade off indexing breadth or speed for your specific needs. We look forward to your feedback and continued improvements in future releases.
Related Articles
- Breaking: mssql-python Now Supports Both Parameter Styles – Python Devs Can Finally End the SQL Placeholder Debate
- AMD GAIA 0.17.6: Open-Source Local AI Now Talks to Your Gmail
- AI Code Revolution: How Non-Coders Are Now Building Android Apps with Zero Experience
- How to Automate Agent Trajectory Analysis with GitHub Copilot
- How to Coordinate Multiple AI Agents in Large-Scale Systems
- Everything You Need to Know About rustup 1.29.0
- 8 Key Insights into Stack Allocation for Go Performance
- Navigating Restartable Sequences: A Technical Guide to API Compliance and Hyrum's Law in Kernel Development