View Source GenLSP.Enumerations.CompletionTriggerKind (gen_lsp v0.10.0)

How a completion was triggered

Link to this section Summary

Functions

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

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

Completion was re-triggered as current completion list is incomplete

Link to this section Types

@type t() :: 1 | 2 | 3

Link to this section Functions

@spec invoked() :: 1

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

@spec trigger_character() :: 2

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

Link to this function

trigger_for_incomplete_completions()

View Source
@spec trigger_for_incomplete_completions() :: 3

Completion was re-triggered as current completion list is incomplete