Theia API Documentation v1.69.0
    Preparing search index...
    • Binds a ContributionProvider for the given service identifier, resolving contributions from the root (top-level) Inversify container.

      This is the recommended default for binding contribution providers in module-level ContainerModule definitions. It walks up from whichever container first resolves the provider to the root container, ensuring the provider does not permanently retain a reference to a short-lived child container.

      Use this function when contributions are registered at the application level (the common case for FrontendApplicationContribution, CommandContribution, MenuContribution, KeybindingContribution, and similar top-level contribution points).

      If you need contributions that are scoped to a child container (e.g. connection-scoped), use bindContributionProvider instead.

      See https://github.com/eclipse-theia/theia/issues/10877#issuecomment-1107000223

      Parameters

      • bindable: Bindable

        A Container or Bind function to register the provider in.

      • id: symbol

        The service identifier symbol whose contributions the provider collects.

      Returns void