completion_async


Description:

public async CompletionItem[]? completion_async (Uri uri, Position position, CompletionContext? context = null) throws Error

The completion request is sent from the client to the server to compute completion items at a given cursor position.

Parameters:

uri

the URI of the document for which completions are requested

position

the position at which completions are requested

context

additional context about the completion trigger, or null if not provided by the server

Returns:

a list of completion items, or null if there are none