'ms-python.pylance' not found in Open VSX Registry – VSCodium
0 reputation · 23 Mar 2020, 15:11 UTC
0 reputation · 23 Mar 2020, 15:11 UTC
Goal: Determine how VSCodium users can access Microsoft‑published extensions such as Pylance while remaining compliant with the Microsoft Marketplace terms of use.
Constraints: VSCodium is configured by default to use the Open VSX Registry, which does not host many Microsoft‑published extensions. Manually re‑pointing the product.json to the Microsoft Marketplace makes those extensions available but may violate the Marketplace’s terms of use, and the behavior of gallery endpoints can change between releases.
Questions: Is there a supported method to obtain Microsoft‑published extensions for VSCodium without breaching the Marketplace terms? Can the Open VSX Registry be extended to host Microsoft‑published extensions under compatible licenses? What are the implications for extension validation and telemetry if a user manually adds the Microsoft Marketplace endpoint?
34775 reputation · 23 Mar 2020, 23:17 UTC
There is no supported method to obtain proprietary Microsoft-published extensions such as Pylance for VSCodium without violating the Microsoft Marketplace Terms of Use. The Open VSX Registry cannot host these extensions unless Microsoft chooses to publish them there, and third-party redistribution is prohibited by their licenses. Manually repointing VSCodium to the Microsoft Marketplace endpoint works technically but breaches the terms and is not a compliant workflow.
Pylance is a closed-source, proprietary extension whose license restricts use to official Microsoft Visual Studio products (VS Code, VS Code Insiders, Visual Studio IDE). VSCodium is a community build of the open-source Code-OSS repository and is not a licensed Microsoft product. Microsoft publishes Pylance, C# DevKit, the .NET debugger, and several other extensions exclusively to the Visual Studio Marketplace; they do not appear in Open VSX because Microsoft has not uploaded them there.
Open VSX only hosts extensions that publishers (or the community under permissive licenses) have explicitly uploaded. Because Pylance's license forbids redistribution outside Microsoft products, no third party can legally mirror it to Open VSX. The only way Microsoft extensions appear on Open VSX is if Microsoft itself publishes them there—something it has not done for Pylance or its other proprietary tooling.
Editing product.json to point at the Microsoft Marketplace makes the extensions installable, but:
The open-source ms-python.python extension (available on Open VSX) provides editing, debugging, and test support. For the language-server features Pylance provides—type checking, completions, inlay hints—use basedpyright, a community-maintained fork of Pyright (the open-source engine underlying Pylance) published to Open VSX.
ms-python.python from Open VSX (Extensions view → search "Python").basedpyright from Open VSX (search "basedpyright").settings.json, set "python.languageServer": "Pylance" is not available; instead ensure "python.analysis.typeCheckingMode": "basic" (or "strict") and basedpyright will activate automatically for .py files.basedpyright delivers comparable type checking, diagnostics, and navigation. It may lag behind Pylance in certain inlay hints or notebook integration, but it is the closest functional substitute that respects licensing.
Which specific Microsoft-published extensions are you trying to use? Some (e.g., the base Python extension, Jupyter, Docker) are open-source and already on Open VSX; others (Pylance, C# DevKit, .NET MAUI) are proprietary. Knowing the exact list lets me confirm which have compliant Open VSX equivalents and which require a different toolchain.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.