Method
LspEditorcompletion_async
Declaration
void
lsp_editor_completion_async (
LspEditor* self,
GUri* uri,
LspPosition* position,
LspCompletionContext* context,
GAsyncReadyCallback _callback_,
void* _callback__target
)
Description
The completion request is sent from the client to the server to compute completion items at a given cursor position.
Parameters
uri-
Type:
GUriThe URI of the document for which completions are requested.
The data is owned by the caller of the method. position-
Type:
LspPositionThe position at which completions are requested.
The data is owned by the caller of the method. context-
Type:
LspCompletionContextAdditional context about the completion trigger, or null if not provided by the server.
The argument can be NULL.The data is owned by the caller of the method. _callback_-
Type:
GAsyncReadyCallbackNo description available.
The argument can be NULL. _callback__target-
Type:
void*No description available.
The argument can be NULL.The data is owned by the caller of the method.