View Source GenLSP.Structures.CompletionClientCapabilities (gen_lsp v0.7.3)

Completion client capabilities

Link to this section Summary

Functions

Fields

  • dynamic_registration: Whether completion supports dynamic registration.

Link to this section Types

@type t() :: %GenLSP.Structures.CompletionClientCapabilities{
  completion_item: map() | nil,
  completion_item_kind: map() | nil,
  completion_list: map() | nil,
  context_support: boolean() | nil,
  dynamic_registration: boolean() | nil,
  insert_text_mode: GenLSP.Enumerations.InsertTextMode.t() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.CompletionClientCapabilities{}

View Source (struct)

fields

Fields

  • dynamic_registration: Whether completion supports dynamic registration.

  • completion_item: The client supports the following CompletionItem specific capabilities.

  • completion_item_kind

  • insert_text_mode: Defines how the client handles whitespace and indentation when accepting a completion item that uses multi line text in either insertText or textEdit.

    @since 3.17.0

  • context_support: The client supports to send additional context information for a textDocument/completion request.

  • completion_list: The client supports the following CompletionList specific capabilities.

    @since 3.17.0