Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace languages

Index

Functions

registerCompletionItemProvider

  • Registers a completion item provider.

    Multiple providers can be registered with overlapping document selectors. In that case, providers are queried in parallel and the results are merged. A failing provider will not cause the whole operation to fail.

    Parameters

    Returns Unsubscribable

    An unsubscribable to unregister this provider.

registerDefinitionProvider

  • Registers a definition provider.

    Multiple providers can be registered for a language. In that case, providers are queried in parallel and the results are merged. A failing provider (rejected promise or exception) will not cause the whole operation to fail.

    Parameters

    Returns Unsubscribable

    An unsubscribable to unregister this provider.

registerDocumentHighlightProvider

  • Registers a document highlight provider.

    Multiple providers can be registered with overlapping document selectors. In that case, providers are queried in parallel and the results are merged. A failing provider will not cause the whole operation to fail.

    Parameters

    Returns Unsubscribable

    An unsubscribable to unregister this provider.

registerHoverProvider

  • Registers a hover provider, which returns a formatted hover message (intended for display in a tooltip) when the user hovers on code.

    Multiple providers can be registered for a language. In that case, providers are queried in parallel and the results are merged. A failing provider (rejected promise or exception) will not cause the whole operation to fail.

    Parameters

    Returns Unsubscribable

    An unsubscribable to unregister this provider.

registerLocationProvider

registerReferenceProvider

  • Registers a reference provider.

    Multiple providers can be registered for a language. In that case, providers are queried in parallel and the results are merged. A failing provider (rejected promise or exception) will not cause the whole operation to fail.

    Parameters

    Returns Unsubscribable

    An unsubscribable to unregister this provider.

Generated using TypeDoc