View Source GenLSP.Structures.CompletionContext (gen_lsp v0.10.0)

Contains additional information about the context in which a completion request is triggered.

Link to this section Summary

Functions

Fields

  • trigger_kind: How the completion was triggered.
  • trigger_character: The trigger character (a single character) that has trigger code complete. Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter

Link to this section Types

@type t() :: %GenLSP.Structures.CompletionContext{
  trigger_character: String.t() | nil,
  trigger_kind: GenLSP.Enumerations.CompletionTriggerKind.t()
}

Link to this section Functions

Link to this function

%GenLSP.Structures.CompletionContext{}

View Source (struct)

fields

Fields

  • trigger_kind: How the completion was triggered.
  • trigger_character: The trigger character (a single character) that has trigger code complete. Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter