Class ContextCompleterProvider

A context connector for completion handlers.

Hierarchy

  • ContextCompleterProvider

Implements

Constructors

Properties

Methods

Constructors

Properties

identifier: "CompletionProvider:context" = "CompletionProvider:context"

Unique identifier of the provider

rank: number

Rank used to order completion results from different completion providers.

Note: The default providers (CompletionProvider:context and

CompletionProvider:kernel) use a rank of ≈500. If you want to give priority to your provider, use a rank of 1000 or above.

The rank is optional for backwards compatibility. If the rank is undefined, it will assign a rank of [1, 499] making the provider available but with a lower priority.

renderer: null

Renderer for provider's completions (optional).

Methods

  • The context completion provider is applicable on all cases.

    Parameters

    Returns Promise<boolean>

Generated using TypeDoc