Table of Contents

Method DoCodeCompletionAsync

Namespace
Alternet.Syntax.Parsers.Lsp
Assembly
Alternet.Syntax.Parsers.Lsp.v9.dll

DoCodeCompletionAsync(Point, CodeCompletionArgs, CancellationToken, bool)

Performs code completion for the specified text representing language element.

public Task DoCodeCompletionAsync(Point position, CodeCompletionArgs e, CancellationToken cancellationToken, bool async)

Parameters

position Point

Specifies current position in text.

e CodeCompletionArgs

A CodeCompletionArgs that contains data for the code completion event.

cancellationToken CancellationToken

Represents a token handles cancellation operation.

async bool

Specifies whether code completion request can be run asynchronously.

Returns

Task