Enum
Enum.CompletionItemKind
Indicates the category of a script editor autocomplete suggestion, controlling its icon and display in the completion list.
| Item | Value | Summary |
|---|---|---|
| Enum.CompletionItemKind.Text | 1 | Indicates the completion item represents a plain text suggestion. |
| Enum.CompletionItemKind.Method | 2 | Indicates the completion item represents a method on a class or object. |
| Enum.CompletionItemKind.Function | 3 | Indicates the completion item represents a function. |
| Enum.CompletionItemKind.Constructor | 4 | Indicates the completion item represents a constructor. |
| Enum.CompletionItemKind.Field | 5 | Indicates the completion item represents a field within a record or struct. |
| Enum.CompletionItemKind.Variable | 6 | Indicates the completion item represents a variable binding. |
| Enum.CompletionItemKind.Class | 7 | Indicates the completion item represents a class or type definition. |
| Enum.CompletionItemKind.Interface | 8 | Indicates the completion item represents an interface type. |
| Enum.CompletionItemKind.Module | 9 | Indicates the completion item represents a module. |
| Enum.CompletionItemKind.Property | 10 | Indicates the completion item represents a property on a class or object. |
| Enum.CompletionItemKind.Unit | 11 | Indicates the completion item represents a unit of measurement or a module-level value. |
| Enum.CompletionItemKind.Value | 12 | Indicates the completion item represents a value expression. |
| Enum.CompletionItemKind.Enum | 13 | Indicates the completion item represents an enum type. |
| Enum.CompletionItemKind.Keyword | 14 | Indicates the completion item represents a language keyword. |
| Enum.CompletionItemKind.Snippet | 15 | Indicates the completion item represents an insertable code snippet with tab stops. |
| Enum.CompletionItemKind.Color | 16 | Indicates the completion item represents a color value. |
| Enum.CompletionItemKind.File | 17 | Indicates the completion item represents a file reference. |
| Enum.CompletionItemKind.Reference | 18 | Indicates the completion item represents a reference to another symbol. |
| Enum.CompletionItemKind.Folder | 19 | Indicates the completion item represents a folder or directory. |
| Enum.CompletionItemKind.EnumMember | 20 | Indicates the completion item represents an individual enum member value. |
| Enum.CompletionItemKind.Constant | 21 | Indicates the completion item represents a constant value. |
| Enum.CompletionItemKind.Struct | 22 | Indicates the completion item represents a struct or table type. |
| Enum.CompletionItemKind.Event | 23 | Indicates the completion item represents an event. |
| Enum.CompletionItemKind.Operator | 24 | Indicates the completion item represents an operator. |
| Enum.CompletionItemKind.TypeParameter | 25 | Indicates the completion item represents a generic type parameter. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.