Skip to main content

Language packages

Generated by yarn gen:languages from the packages under languages/. Do not edit by hand.

Install a package next to the core and pass its language id to CodeEditor. A grammar whose name differs from the package id (markdown_inline) is reached through injection only. The Injects column lists the languages a package's injection query names; "from the source" means the name comes from the document, as a fence info string does.

PackagelanguageGrammarScannerInjects
react-native-codepad-lang-cctree-sitter/tree-sitter-cnocomment, doxygen, printf, re2c
react-native-codepad-lang-csscsstree-sitter/tree-sitter-cssyescomment
react-native-codepad-lang-gogotree-sitter/tree-sitter-gonocomment, printf, re2c, regex
react-native-codepad-lang-htmlhtmltree-sitter/tree-sitter-htmlyescomment, css, javascript, json, python, regex, toml
react-native-codepad-lang-javajavatree-sitter/tree-sitter-javanocomment, javadoc, printf
react-native-codepad-lang-javascriptjavascripttree-sitter/tree-sitter-javascriptyesangular, comment, css, glimmer, graphql, groq, html, jsdoc, regex, styled, from the source
react-native-codepad-lang-jsonjsontree-sitter/tree-sitter-jsonnocomment
react-native-codepad-lang-kotlinkotlinfwcd/tree-sitter-kotlinyescomment, printf, regex
react-native-codepad-lang-markdownmarkdown, markdown_inlinetree-sitter-grammars/tree-sitter-markdownyeshtml, latex, markdown_inline, toml, yaml, from the source
react-native-codepad-lang-pythonpythontree-sitter/tree-sitter-pythonyescomment, printf, regex
react-native-codepad-lang-rustrusttree-sitter/tree-sitter-rustyescomment, re2c, regex, rust, from the source
react-native-codepad-lang-swiftswiftalex-pinkus/tree-sitter-swiftyescomment, regex
react-native-codepad-lang-tsxtsxtree-sitter/tree-sitter-typescriptyesangular, comment, css, glimmer, graphql, groq, html, jsdoc, regex, styled, from the source
react-native-codepad-lang-typescripttypescripttree-sitter/tree-sitter-typescriptyesangular, comment, css, glimmer, graphql, groq, html, jsdoc, regex, styled, from the source
react-native-codepad-lang-yamlyamltree-sitter-grammars/tree-sitter-yamlyesbash, comment, promql

Capture names​

The token keys each grammar's highlight query produces. A theme styles them through the longest dotted prefix it defines, so keyword.return falls back to keyword.

c​

attribute, boolean, character, comment, comment.documentation, constant, constant.builtin, constant.macro, function, function.builtin, function.call, function.macro, keyword, keyword.conditional, keyword.conditional.ternary, keyword.directive, keyword.directive.define, keyword.import, keyword.modifier, keyword.operator, keyword.repeat, keyword.return, keyword.type, label, number, operator, property, punctuation.bracket, punctuation.delimiter, punctuation.special, spell, string, string.escape, type, type.builtin, type.definition, variable, variable.builtin, variable.parameter

css​

attribute, character.special, comment, constant, function, keyword, keyword.directive, keyword.import, keyword.modifier, keyword.operator, module, number, number.float, operator, property, punctuation.bracket, punctuation.delimiter, spell, string, tag, tag.attribute, type, variable

go​

boolean, character, comment, comment.documentation, constant, constant.builtin, constructor, function, function.builtin, function.call, function.method, function.method.call, keyword, keyword.conditional, keyword.coroutine, keyword.function, keyword.import, keyword.repeat, keyword.return, keyword.type, label, module, number, number.float, operator, property, punctuation.bracket, punctuation.delimiter, spell, string, string.escape, string.regexp, type, type.builtin, type.definition, variable, variable.member, variable.parameter

html​

character.special, comment, constant, markup.heading, markup.heading.1, markup.heading.2, markup.heading.3, markup.heading.4, markup.heading.5, markup.heading.6, markup.italic, markup.link.label, markup.raw, markup.strikethrough, markup.strong, markup.underline, none, nospell, operator, spell, string, string.special.url, tag, tag.attribute, tag.delimiter

java​

attribute, boolean, character, character.special, comment, comment.documentation, constant, constant.builtin, function.builtin, function.method, function.method.call, keyword, keyword.conditional, keyword.conditional.ternary, keyword.exception, keyword.import, keyword.modifier, keyword.operator, keyword.repeat, keyword.return, keyword.type, label, number, number.float, operator, punctuation.bracket, punctuation.delimiter, punctuation.special, spell, string, string.escape, type, type.builtin, variable, variable.builtin, variable.member, variable.parameter

javascript​

attribute, boolean, character.special, comment, comment.documentation, constant, constant.builtin, constructor, function, function.builtin, function.call, function.method, function.method.call, keyword, keyword.conditional, keyword.conditional.ternary, keyword.coroutine, keyword.directive, keyword.exception, keyword.function, keyword.import, keyword.operator, keyword.repeat, keyword.return, keyword.type, label, markup.heading, markup.heading.1, markup.heading.2, markup.heading.3, markup.heading.4, markup.heading.5, markup.heading.6, markup.italic, markup.link.label, markup.raw, markup.strikethrough, markup.strong, markup.underline, module, module.builtin, none, number, operator, punctuation.bracket, punctuation.delimiter, punctuation.special, spell, string, string.escape, string.regexp, string.special.url, tag, tag.attribute, tag.builtin, tag.delimiter, type, type.builtin, variable, variable.builtin, variable.member, variable.parameter

json​

boolean, comment, conceal, constant.builtin, number, property, punctuation.bracket, punctuation.delimiter, spell, string, string.escape

kotlin​

attribute, boolean, character, character.special, comment, comment.documentation, constant, constructor, function, function.builtin, function.call, keyword, keyword.conditional, keyword.coroutine, keyword.directive, keyword.exception, keyword.function, keyword.import, keyword.modifier, keyword.repeat, keyword.return, keyword.type, label, module, none, number, number.float, operator, punctuation.bracket, punctuation.delimiter, punctuation.special, spell, string, string.escape, string.regexp, type, type.builtin, type.definition, variable, variable.builtin, variable.member, variable.parameter

markdown​

keyword.directive, label, markup.heading, markup.heading.1, markup.heading.2, markup.heading.3, markup.heading.4, markup.heading.5, markup.heading.6, markup.link.label, markup.link.url, markup.list, markup.list.checked, markup.list.unchecked, markup.quote, markup.raw.block, punctuation.delimiter, punctuation.special, spell, string.escape

markdown_inline​

character.special, conceal, markup.italic, markup.link, markup.link.label, markup.link.url, markup.raw, markup.strikethrough, markup.strong, nospell

python​

attribute, attribute.builtin, boolean, character.special, comment, constant, constant.builtin, constructor, function, function.builtin, function.call, function.macro, function.method, function.method.call, keyword, keyword.conditional, keyword.coroutine, keyword.directive, keyword.exception, keyword.function, keyword.import, keyword.operator, keyword.repeat, keyword.return, keyword.type, module, module.builtin, none, nospell, number, number.float, operator, punctuation.bracket, punctuation.delimiter, punctuation.special, spell, string, string.documentation, string.escape, string.regexp, type, type.builtin, type.definition, variable, variable.builtin, variable.member, variable.parameter

rust​

attribute, attribute.builtin, boolean, character, character.special, comment, comment.documentation, constant, constant.builtin, function, function.call, function.macro, keyword, keyword.conditional, keyword.coroutine, keyword.debug, keyword.directive, keyword.exception, keyword.function, keyword.import, keyword.modifier, keyword.operator, keyword.repeat, keyword.return, keyword.type, label, module, number, number.float, operator, punctuation.bracket, punctuation.delimiter, punctuation.special, spell, string, string.escape, string.regexp, type, type.builtin, variable, variable.builtin, variable.member, variable.parameter

swift​

attribute, boolean, character.special, comment, comment.documentation, constant.builtin, constant.macro, constructor, function.call, function.macro, function.method, keyword, keyword.conditional, keyword.conditional.ternary, keyword.coroutine, keyword.directive, keyword.exception, keyword.function, keyword.import, keyword.modifier, keyword.operator, keyword.repeat, keyword.return, keyword.type, label, number, number.float, operator, punctuation.bracket, punctuation.delimiter, punctuation.special, spell, string, string.escape, string.regexp, type, variable, variable.builtin, variable.member, variable.parameter

tsx​

attribute, boolean, character.special, comment, comment.documentation, constant, constant.builtin, constructor, function, function.builtin, function.call, function.method, function.method.call, keyword, keyword.conditional, keyword.conditional.ternary, keyword.coroutine, keyword.directive, keyword.exception, keyword.function, keyword.import, keyword.modifier, keyword.operator, keyword.repeat, keyword.return, keyword.type, label, markup.heading, markup.heading.1, markup.heading.2, markup.heading.3, markup.heading.4, markup.heading.5, markup.heading.6, markup.italic, markup.link.label, markup.raw, markup.strikethrough, markup.strong, markup.underline, module, module.builtin, none, number, operator, punctuation.bracket, punctuation.delimiter, punctuation.special, spell, string, string.escape, string.regexp, string.special.url, tag, tag.attribute, tag.builtin, tag.delimiter, type, type.builtin, variable, variable.builtin, variable.member, variable.parameter

typescript​

attribute, boolean, character.special, comment, comment.documentation, constant, constant.builtin, constructor, function, function.builtin, function.call, function.method, function.method.call, keyword, keyword.conditional, keyword.conditional.ternary, keyword.coroutine, keyword.directive, keyword.exception, keyword.function, keyword.import, keyword.modifier, keyword.operator, keyword.repeat, keyword.return, keyword.type, label, module, module.builtin, none, number, operator, punctuation.bracket, punctuation.delimiter, punctuation.special, spell, string, string.escape, string.regexp, string.special.url, type, type.builtin, variable, variable.builtin, variable.member, variable.parameter

yaml​

boolean, comment, constant.builtin, keyword.directive, label, number, property, punctuation.bracket, punctuation.delimiter, punctuation.special, spell, string, string.escape, type