activate


Description:

public abstract void activate (CompletionContext context, CompletionProposal proposal)

This function requests proposal to be activated by the CompletionProvider.

What the provider does to activate the proposal is specific to that provider. Many providers may choose to insert a Snippet with edit points the user may cycle through.

See also: [class@Snippet], [class@SnippetChunk], [method@View.push_snippet]

Parameters:

this

a CompletionProvider

context

a CompletionContext

proposal

a CompletionProposal