Struct

LspCompletionItem

Description

struct LspCompletionItem {
  /* No available fields */
}

A completion item is an option in a list of completions generated when calling textDocument/completion.

Constructors

lsp_completion_item_new

Creates a new completion item with a label.

lsp_completion_item_new_from_variant
No description available.

Instance methods

lsp_completion_item_ref
No description available.

lsp_completion_item_unref
No description available.

lsp_completion_item_get_label

Gets the value of label.

lsp_completion_item_set_label

Sets the value of label.

lsp_completion_item_get_label_details

Gets the value of label_details.

lsp_completion_item_set_label_details

Sets the value of label_details.

lsp_completion_item_get_kind

Gets the value of kind.

lsp_completion_item_set_kind

Sets the value of kind.

lsp_completion_item_get_tags

Gets the value of tags.

lsp_completion_item_set_tags

Sets the value of tags.

lsp_completion_item_get_deprecated

Gets the value of deprecated.

lsp_completion_item_set_deprecated

Sets the value of deprecated.

lsp_completion_item_get_detail

Gets the value of detail.

lsp_completion_item_set_detail

Sets the value of detail.

lsp_completion_item_get_documentation

Gets the value of documentation.

lsp_completion_item_set_documentation

Sets the value of documentation.

lsp_completion_item_get_preselect

Gets the value of preselect.

lsp_completion_item_set_preselect

Sets the value of preselect.

lsp_completion_item_get_sort_text

Gets the value of sort_text.

lsp_completion_item_set_sort_text

Sets the value of sort_text.

lsp_completion_item_get_filter_text

Gets the value of filter_text.

lsp_completion_item_set_filter_text

Sets the value of filter_text.

lsp_completion_item_get_insert_text

Gets the value of insert_text.

lsp_completion_item_set_insert_text

Sets the value of insert_text.

lsp_completion_item_get_insert_text_format

Gets the value of insert_text_format.

lsp_completion_item_set_insert_text_format

Sets the value of insert_text_format.

lsp_completion_item_get_insert_text_mode

Gets the value of insert_text_mode.

lsp_completion_item_set_insert_text_mode

Sets the value of insert_text_mode.

lsp_completion_item_get_text_edit

Gets the value of text_edit.

lsp_completion_item_set_text_edit

Sets the value of text_edit.

lsp_completion_item_get_additional_text_edits

Gets the value of additional_text_edits.

lsp_completion_item_set_additional_text_edits

Sets the value of additional_text_edits.

lsp_completion_item_add_additional_text_edit

Appends an edit to LspCompletionItem:additional-text-edits.

lsp_completion_item_get_commit_chars

Gets the value of commit_chars.

lsp_completion_item_set_commit_chars

Sets the value of commit_chars.

lsp_completion_item_add_commit_char

Appends a character to LspCompletionItem:commit-chars.

lsp_completion_item_get_command

Gets the value of command.

lsp_completion_item_set_command

Sets the value of command.

lsp_completion_item_get_data

Gets the value of data.

lsp_completion_item_set_data

Sets the value of data.

lsp_completion_item_to_variant
No description available.