Enumeration

LspCompletionTriggerKind

Declaration

enum Lsp.CompletionTriggerKind

Description

How a completion was triggered.

Since: 3.2.0.

Members

LSP_COMPLETION_TRIGGER_KIND_INVOKED

Completion was triggered by typing an identifier (automatic code complete), manual invocation (e.g. Ctrl+Space) or via API.

  • Value: 1
  • Available since: 3.0
LSP_COMPLETION_TRIGGER_KIND_TRIGGER_CHARACTER

Completion was triggered by a trigger character specified by the triggerCharacters properties of the CompletionRegistrationOptions.

  • Value: 2
  • Available since: 3.0
LSP_COMPLETION_TRIGGER_KIND_TRIGGER_FOR_INCOMPLETE_COMPLETIONS

Completion was re-triggered as the current completion list is incomplete.

  • Value: 3
  • Available since: 3.0