Method

LspCodeActionget_command

Declaration

LspCommand*
lsp_code_action_get_command (
  LspCodeAction* self
)

Description

Gets 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.

Return value

Type: LspCommand

The value of command.

The returned data is owned by the instance.
The return value can be NULL.