mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-14 03:49:54 +00:00
Made ENUM constants highest priority in autocomplete dropdown menu
This commit is contained in:
1 parent
ff7fbd411d
commit
5332774c3d
1 file changed
+1
-1
@@ -16,12 +16,12 @@ public class AutocompleteItem implements Comparable<AutocompleteItem> {
|
||||
* The kind of completion item.
|
||||
*/
|
||||
public enum Kind {
|
||||
ENUM_CONSTANT(-1), // Enum constant value (highest priority for enums)
|
||||
METHOD(0), // Method or function
|
||||
FIELD(1), // Field or property
|
||||
VARIABLE(2), // Local variable or parameter
|
||||
CLASS(3), // Class or interface type
|
||||
ENUM(4), // Enum type
|
||||
ENUM_CONSTANT(5), // Enum constant value
|
||||
KEYWORD(6), // Language keyword
|
||||
SNIPPET(7); // Code snippet
|
||||
|
||||
|
||||
Reference in new issue
Block a user