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.
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
ContainerModuledefinitions. 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