3 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

CompletionItemTag

Determines the tags for completion items in ScriptEditorService:RegisterAutocompleteCallback().

Items

NameValueDescription
Deprecated1Indicates that the completion is deprecated, applying a penalty towards its score and crossing it out in the completion list.
IncorrectIndexType2Indicates that the completion is a member and being accessed with the wrong index type (e.g. using : to access a property), hiding it from the completion list.
PluginPermissions3Indicates that the completion requires Plugin security level to access, hiding it if the client lacks this level.
CommandLinePermissions4Indicates that the completion requires Command line security level to access, hiding it if the client lacks this level.
RobloxPermissions5Indicates that the completion requires core script security level to access, hiding it if the client lacks this level.
AddParens6Instructs the editor to add parentheses before the cursor after inserting the given completion, if accepted.
PutCursorInParens7Instructs the editor to add parentheses before the cursor and move the cursor into the parentheses after inserting the given completion, if accepted.
TypeCorrect8Indicates that the completion is type correct in the current context, granting a bonus to its score.
ClientServerBoundaryViolation9Indicates that the completion is being accessed from the wrong side of the client/server boundary (e.g. Players.LocalPlayer in a server script), hiding it from the completion list.
Invalidated10Indicates that the completion is stale because the cursor has moved outside the item's valid replacement range, hiding it from the completion list.
PutCursorBeforeEnd11Instructs the editor to move the cursor to just before the nearest preceding end keyword after inserting the given completion, if accepted.

Deprecated

Indicates that the completion is deprecated, applying a penalty towards its score and crossing it out in the completion list.

FieldValue
value1

IncorrectIndexType

Indicates that the completion is a member and being accessed with the wrong index type (e.g. using : to access a property), hiding it from the completion list.

FieldValue
value2

PluginPermissions

Indicates that the completion requires Plugin security level to access, hiding it if the client lacks this level.

FieldValue
value3

CommandLinePermissions

Indicates that the completion requires Command line security level to access, hiding it if the client lacks this level.

FieldValue
value4

RobloxPermissions

Indicates that the completion requires core script security level to access, hiding it if the client lacks this level.

FieldValue
value5

AddParens

Instructs the editor to add parentheses before the cursor after inserting the given completion, if accepted.

FieldValue
value6

PutCursorInParens

Instructs the editor to add parentheses before the cursor and move the cursor into the parentheses after inserting the given completion, if accepted.

FieldValue
value7

TypeCorrect

Indicates that the completion is type correct in the current context, granting a bonus to its score.

FieldValue
value8

ClientServerBoundaryViolation

Indicates that the completion is being accessed from the wrong side of the client/server boundary (e.g. Players.LocalPlayer in a server script), hiding it from the completion list.

FieldValue
value9

Invalidated

Indicates that the completion is stale because the cursor has moved outside the item's valid replacement range, hiding it from the completion list.

FieldValue
value10

PutCursorBeforeEnd

Instructs the editor to move the cursor to just before the nearest preceding end keyword after inserting the given completion, if accepted.

FieldValue
value11