Skip to content
Roblox API Reference

Enum.CompletionItemTag

Determines the tags for completion items in ScriptEditorService:RegisterAutocompleteCallback().
Items
11
Uses
0

Items11

  • Enum.CompletionItemTag.Deprecated = 1
    Indicates that the completion is deprecated, applying a penalty towards its score and crossing it out in the completion list.
  • Enum.CompletionItemTag.IncorrectIndexType = 2
    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.
  • Enum.CompletionItemTag.PluginPermissions = 3
    Indicates that the completion requires Plugin security level to access, hiding it if the client lacks this level.
  • Enum.CompletionItemTag.CommandLinePermissions = 4
    Indicates that the completion requires Command line security level to access, hiding it if the client lacks this level.
  • Enum.CompletionItemTag.RobloxPermissions = 5
    Indicates that the completion requires core script security level to access, hiding it if the client lacks this level.
  • Enum.CompletionItemTag.AddParens = 6
    Instructs the editor to add parentheses before the cursor after inserting the given completion, if accepted.
  • Enum.CompletionItemTag.PutCursorInParens = 7
    Instructs the editor to add parentheses before the cursor and move the cursor into the parentheses after inserting the given completion, if accepted.
  • Enum.CompletionItemTag.TypeCorrect = 8
    Indicates that the completion is type correct in the current context, granting a bonus to its score.
  • Enum.CompletionItemTag.ClientServerBoundaryViolation = 9
    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.
  • Enum.CompletionItemTag.Invalidated = 10
    Indicates that the completion is stale because the cursor has moved outside the item's valid replacement range, hiding it from the completion list.
  • Enum.CompletionItemTag.PutCursorBeforeEnd = 11
    Instructs the editor to move the cursor to just before the nearest preceding end keyword after inserting the given completion, if accepted.

No class members use Enum.CompletionItemTag.