CompletionItemTag列挙型(Enum)

列挙型(Enum)日本語解説は準備中

ひとことで言うと

CompletionItemTagは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。

公式の説明(英語):Determines the tags for completion items in Class.ScriptEditorService:RegisterAutocompleteCallback().

選べる値(11)

名前値説明
Enum.CompletionItemTag.Deprecated1Indicates that the completion is deprecated, applying a penalty towards its score and crossing it out in the completion list.
Enum.CompletionItemTag.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.
Enum.CompletionItemTag.PluginPermissions3Indicates that the completion requires Plugin security level to access, hiding it if the client lacks this level.
Enum.CompletionItemTag.CommandLinePermissions4Indicates that the completion requires Command line security level to access, hiding it if the client lacks this level.
Enum.CompletionItemTag.RobloxPermissions5Indicates that the completion requires core script security level to access, hiding it if the client lacks this level.
Enum.CompletionItemTag.AddParens6Instructs the editor to add parentheses before the cursor after inserting the given completion, if accepted.
Enum.CompletionItemTag.PutCursorInParens7Instructs the editor to add parentheses before the cursor and move the cursor into the parentheses after inserting the given completion, if accepted.
Enum.CompletionItemTag.TypeCorrect8Indicates that the completion is type correct in the current context, granting a bonus to its score.
Enum.CompletionItemTag.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.
Enum.CompletionItemTag.Invalidated10Indicates 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.PutCursorBeforeEnd11Instructs the editor to move the cursor to just before the nearest preceding end keyword after inserting the given completion, if accepted.

英語の説明とメンバーの一覧は、Roblox Creator Documentation(CompletionItemTag)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。

執筆:鈴木孝昌官公庁のWeb・システム開発を担当する現役プロジェクトマネージャー。沖縄マイクラ部 クロスウェーブで、ロブロックス(Roblox)・マインクラフト(マイクラ)・Scratchなどのプログラミングを指導。マイクラカップ沖縄代表チームを指導(第6回・第7回、第7回TBS賞)。
沖縄マイクラ部で、子どもたちにロブロックス(Roblox)やマインクラフト(マイクラ)のプログラミングを教えています。プロフィールと編集方針
Instagramで教室の様子を見る
noteで記事を読む