Enum CompletionTriggerKind

    • Enum Constant Summary

      Enum Constants 
      Enum Constant 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.
    • Enum Constant Detail

      • Invoked

        public static final CompletionTriggerKind Invoked
        Completion was triggered by typing an identifier (24x7 code complete), manual invocation (e.g Ctrl+Space) or via API.
      • TriggerCharacter

        public static final CompletionTriggerKind TriggerCharacter
        Completion was triggered by a trigger character specified by the `triggerCharacters` properties of the `CompletionRegistrationOptions`.
      • TriggerForIncompleteCompletions

        public static final CompletionTriggerKind TriggerForIncompleteCompletions
        Completion was re-triggered as the current completion list is incomplete.

        Since 3.6.0

    • Method Detail

      • values

        public static CompletionTriggerKind[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CompletionTriggerKind c : CompletionTriggerKind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CompletionTriggerKind valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()