Enum EInlineSuggestMode
- All Implemented Interfaces:
Serializable
,Comparable<EInlineSuggestMode>
igures the mode. Use prefix to only show ghost text if the text to replace is a prefix of the suggestion text. Use
to only show ghost text if the replace text is a sub word of the suggestion text. Use
to only show ghost text if the replace text is a sub word of the suggestion text, but the sub word must
start after the cursor position. Defaults to
invalid reference
subword
invalid reference
subwordSmart
prefix
.-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic EInlineSuggestMode
parseString
(String name) toString()
static EInlineSuggestMode
Returns the enum constant of this type with the specified name.static EInlineSuggestMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PREFIX
-
SUBWORD
-
SUBWORD_SMART
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<EInlineSuggestMode>
-
parseString
-