A fast, feature-rich language server extension for Python in Visual Studio Code, providing IntelliSense, type checking, and code navigation.
Pylance is a language server extension for Visual Studio Code that provides fast, feature-rich language support for Python. It offers IntelliSense, real-time error checking, code navigation, and type checking to improve developer productivity and code quality. Built on Microsoft's Pyright static type checker, it delivers accurate completions and diagnostics directly in the editor.
Python developers using Visual Studio Code who want enhanced IDE features like intelligent code completion, type checking, and advanced code navigation. It's particularly valuable for those working on large codebases or projects with complex type annotations.
Developers choose Pylance for its deep integration with VS Code, high performance, and comprehensive feature set that includes semantic highlighting, configurable type checking, and AI-assisted code actions. It provides a more responsive and accurate Python development experience compared to basic language servers.
Documentation and issues for Pylance
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers configurable type checking modes from off to strict, leveraging Pyright for accurate real-time diagnostics, as detailed in the typeCheckingMode settings with performance considerations for large codebases.
Provides extensive settings like languageServerMode (light, default, full), indexing options, and diagnostic severity overrides, allowing fine-tuned control over features and resource usage based on project needs.
Integrates with Copilot for AI code actions such as generating docstrings and converting code, enhancing developer workflow directly within the editor, though it requires Copilot to be installed and active.
Enhances syntax coloring based on semantic tokens like classes and functions, improving code readability beyond basic TextMate grammars, with customizable colors via editor.semanticTokenColorCustomizations.
The Pylance codebase is proprietary, with contributions only possible through the open-source Pyright project, limiting direct community involvement and transparency in core development.
With over 50 documented settings, users must navigate extensive options to optimize performance and features, which can be overwhelming and time-consuming for setup and maintenance.
Enabling rich features like full indexing or strict type checking can significantly increase memory and CPU usage, as repeatedly warned in the README's performance considerations for large workspaces.
Experimental features like Django support are only available on specific platforms (Windows x64/ARM64, macOS Apple Silicon, Linux x64/ARM64), restricting usability across diverse development environments.