public enum CompletionTriggerKind extends java.lang.Enum<CompletionTriggerKind>
Enum Constant and Description |
---|
Invoked
Completion was triggered by typing an identifier (24x7 code
complete), manual invocation (e.g Ctrl+Space) or via API.
|
TriggerCharacter
Completion was triggered by a trigger character specified by
the `triggerCharacters` properties of the `CompletionRegistrationOptions`.
|
TriggerForIncompleteCompletions
Completion was re-triggered as the current completion list is incomplete.
|
Modifier and Type | Method and Description |
---|---|
static FileChangeType |
forValue(int value) |
int |
getValue() |
static CompletionTriggerKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompletionTriggerKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompletionTriggerKind Invoked
public static final CompletionTriggerKind TriggerCharacter
public static final CompletionTriggerKind TriggerForIncompleteCompletions
public static CompletionTriggerKind[] values()
for (CompletionTriggerKind c : CompletionTriggerKind.values()) System.out.println(c);
public static CompletionTriggerKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static FileChangeType forValue(int value)