start


Description:

public bool start (List<SourceCompletionProvider>? providers, SourceCompletionContext context)

Starts a new completion with the specified SourceCompletionContext and a list of potential candidate providers for completion.

It can be convenient for showing a completion on-the-fly, without the need to add or remove providers to the SourceCompletion.

Another solution is to add providers with add_provider, and implement match for each provider.

Parameters:

this

a SourceCompletion.

providers

a list of SourceCompletionProvider, or null.

context

The SourceCompletionContext with which to start the completion.

Returns:

true if it was possible to the show completion window.