Method

LspCodeActionset_data

Declaration

void
lsp_code_action_set_data (
  LspCodeAction* self,
  GVariant* value
)

Description

Sets the value of data.

A data entry field that is preserved on a code action between a textDocument/codeAction and a codeAction/resolve request.

Since:

3.16.0.

Parameters

value

Type: GVariant

The new value of data.

The argument can be NULL.
The data is owned by the caller of the method.