Struct

LspFormattingOptions

Description

struct LspFormattingOptions {
  gint _tab_size;
  gboolean _insert_spaces;
  LspFormattingOptionFlags _flags;
}

Formatting options for a textDocument/formatting request.

Structure members
_tab_size: gint

Size of a tab in spaces.

_insert_spaces: gboolean

Whether to use spaces instead of tabs.

_flags: LspFormattingOptionFlags

Formatting option flags.

Since:

3.15.0.

Instance methods

lsp_formatting_options_init
No description available.

lsp_formatting_options_init_from_variant
No description available.

lsp_formatting_options_to_variant
No description available.

lsp_formatting_options_get_tab_size

Gets the value of tab_size.

lsp_formatting_options_set_tab_size

Sets the value of tab_size.

lsp_formatting_options_get_insert_spaces

Gets the value of insert_spaces.

lsp_formatting_options_set_insert_spaces

Sets the value of insert_spaces.

lsp_formatting_options_get_flags

Gets the value of flags.

lsp_formatting_options_set_flags

Sets the value of flags.