Struct

LspCodeActionContext

Description

struct LspCodeActionContext {
  /* No available fields */
}

Contains additional diagnostic information about the context in which a code action is run.

Constructors

lsp_code_action_context_new_from_variant

Deserializes a code action context from a GVariant.

lsp_code_action_context_new
No description available.

Instance methods

lsp_code_action_context_ref
No description available.

lsp_code_action_context_unref
No description available.

lsp_code_action_context_get_diagnostics

Gets the value of diagnostics.

lsp_code_action_context_set_diagnostics

Sets the value of diagnostics.

lsp_code_action_context_add_diagnostic

Appends a diagnostic to LspCodeActionContext:diagnostics.

lsp_code_action_context_get_only

Gets the value of only.

lsp_code_action_context_set_only

Sets the value of only.

lsp_code_action_context_add_kind

Appends an action kind to LspCodeActionContext:only.

lsp_code_action_context_get_trigger

Gets the value of trigger.

lsp_code_action_context_set_trigger

Sets the value of trigger.

lsp_code_action_context_to_variant

Serializes this LspCodeActionContext to a GVariant.