Method

LspCodeActionset_command

Declaration

void
lsp_code_action_set_command (
  LspCodeAction* self,
  LspCommand* value
)

Description

Sets the value of command.

A command this code action executes. If a code action provides an edit and a command, first the edit is executed and then the command.

Parameters

value

Type: LspCommand

The new value of command.

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