Skip to Content
DocumentsReferenceLanguage Support

Code Editor Language Support

Language support is how the snippet editor chooses syntax highlighting and completion: by file extension (e.g. .py → Python) or snippet run environment (e.g. shell, python). Current list:

Document index · Reference


By File Extension

ExtensionLanguageNotes
.js, .jsxjavascriptJavaScript
.ts, .tsxtypescriptTypeScript
.pypythonPython
.sh, .bash, .zshshellShell
.jsonjsonJSON
.html, .htmhtmlHTML
.csscssCSS
.scss, .lessscss / lessSCSS / Less
.mdmarkdownMarkdown
.yaml, .ymlyamlYAML
.xmlxmlXML
.sqlsqlSQL
.go, .rs, .java, .kt, .swiftgo / rust / java / kotlin / swiftetc.
.c, .h, .cpp, .hppc / cppC / C++
.php, .rb, .lua, .rphp / ruby / lua / retc.
.txtplaintextPlain text

By Run Environment

EnvironmentLanguageNotes
plainplaintextPlain text
richmarkdownMarkdown
shellshellShell
applescriptapplescriptAppleScript
jsjavascriptJavaScript
pythonpythonPython

Monaco Built-in Languages

Monaco supports (among others): plain text, JavaScript/TypeScript, JSON, HTML, CSS/SCSS/Less, Markdown, XML, YAML, SQL, Python, Java, C/C++, C#, Go, Rust, PHP, Ruby, Swift, Kotlin, Lua, R, Shell/Bash, PowerShell, Dockerfile, INI, Properties, Perl, VB, CoffeeScript, F#, Clojure, Scala, Groovy, Objective-C, Handlebars, Razor, etc.

See in-app Settings → Editor and current version for details. For new extensions or mappings, see in-app help or contact support.