-
Notifications
You must be signed in to change notification settings - Fork 12
[EXTENSIONS] Tokens list
MotionCode Dev edited this page Jun 7, 2026
·
1 revision
The following tokens are recommended for syntax highlighting rules. They are compatible with most Ace themes and follow common TextMate conventions.
Default text. Used when no specific token applies.
Language keywords.
Examples:
ifelsereturnwhile
Control flow keywords.
Examples:
ifswitchforbreak
Operators.
Examples:
+-&&||=
Other language-specific keywords.
Storage-related declarations.
Type declarations.
Examples:
classinterfacestructenum
Modifiers.
Examples:
publicprivatestaticreadonly
Generic constant value.
Numbers.
Examples:
1233.140xFF
Language-defined constants.
Examples:
truefalsenullundefined
Character literals.
Examples:
'a''\n'
Escape sequences.
Examples:
\n\t\\
Other constant values.
String literals.
Examples:
"hello"'world'
Quoted strings.
Regular expressions.
Examples:
/\w+//[0-9]+/g
Interpolated string segments.
Examples:
${name}{value}
Generic comment.
Single-line comment.
Examples:
// comment