Skip to content

Enum

Enum.CompletionItemKind

Indicates the category of a script editor autocomplete suggestion, controlling its icon and display in the completion list.

Official docs ↗
ItemValueSummary
Enum.CompletionItemKind.Text1Indicates the completion item represents a plain text suggestion.
Enum.CompletionItemKind.Method2Indicates the completion item represents a method on a class or object.
Enum.CompletionItemKind.Function3Indicates the completion item represents a function.
Enum.CompletionItemKind.Constructor4Indicates the completion item represents a constructor.
Enum.CompletionItemKind.Field5Indicates the completion item represents a field within a record or struct.
Enum.CompletionItemKind.Variable6Indicates the completion item represents a variable binding.
Enum.CompletionItemKind.Class7Indicates the completion item represents a class or type definition.
Enum.CompletionItemKind.Interface8Indicates the completion item represents an interface type.
Enum.CompletionItemKind.Module9Indicates the completion item represents a module.
Enum.CompletionItemKind.Property10Indicates the completion item represents a property on a class or object.
Enum.CompletionItemKind.Unit11Indicates the completion item represents a unit of measurement or a module-level value.
Enum.CompletionItemKind.Value12Indicates the completion item represents a value expression.
Enum.CompletionItemKind.Enum13Indicates the completion item represents an enum type.
Enum.CompletionItemKind.Keyword14Indicates the completion item represents a language keyword.
Enum.CompletionItemKind.Snippet15Indicates the completion item represents an insertable code snippet with tab stops.
Enum.CompletionItemKind.Color16Indicates the completion item represents a color value.
Enum.CompletionItemKind.File17Indicates the completion item represents a file reference.
Enum.CompletionItemKind.Reference18Indicates the completion item represents a reference to another symbol.
Enum.CompletionItemKind.Folder19Indicates the completion item represents a folder or directory.
Enum.CompletionItemKind.EnumMember20Indicates the completion item represents an individual enum member value.
Enum.CompletionItemKind.Constant21Indicates the completion item represents a constant value.
Enum.CompletionItemKind.Struct22Indicates the completion item represents a struct or table type.
Enum.CompletionItemKind.Event23Indicates the completion item represents an event.
Enum.CompletionItemKind.Operator24Indicates the completion item represents an operator.
Enum.CompletionItemKind.TypeParameter25Indicates the completion item represents a generic type parameter.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.