Implementation of CompletionTriggerKind enumeration from Language Server Protocol

DO NOT add new properties or methods to this class that are specific to Moonshine IDE or to a particular language. Create a subclass for new properties or create a utility function for methods.

See also:

Variables

@:value(cast 1)@:enum@:implinlineread onlyInvoked:CompletionTriggerKind = 1

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

@:value(cast 2)@:enum@:implinlineread onlyTriggerCharacter:CompletionTriggerKind = 2

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

@:value(cast 3)@:enum@:implinlineread onlyTriggerForIncompleteCompletions:CompletionTriggerKind = 3

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