Class

LspCommand

Description

class Lsp.Command : Lsp.Action
{
  /* No available fields */
}

Represents a reference to a command.

Provides a title which will be used to represent a command in the UI. Commands are identified by a string identifier. The recommended way to handle commands is to implement their execution on the server side if the client and server provides the corresponding capabilities. Alternatively the tool extension code could handle the command. The protocol currently doesn’t specify a set of well-known commands.

Hierarchy

hierarchy this LspCommand ancestor_0 LspAction ancestor_0--this

Ancestors

Constructors

lsp_command_new

Creates a new LspCommand.

lsp_command_new_from_variant
No description available.

Instance methods

lsp_command_get_command

Gets the value of command.

lsp_command_set_command

Sets the value of command.

lsp_command_get_arguments

Gets the value of arguments.

lsp_command_set_arguments

Sets the value of arguments.

lsp_command_add_argument

Appends an argument to LspCommand:arguments.

Methods inherited from LspAction (3)
lsp_action_get_title

Gets the value of title.

lsp_action_set_title

Sets the value of title.

lsp_action_to_variant

Serialize this action to a GVariant.

Class structure

struct LspCommandClass {
  /* no available fields */
}

No description available.