Class ContextCompleterProvider

A context connector for completion handlers.

Implements

Constructors

Properties

Methods

Constructors

Properties

identifier: "CompletionProvider:context" = CONTEXT_PROVIDER_ID

Unique identifier of the provider

rank: number = 500

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 = null

Renderer for provider's completions (optional).

Methods