49 languages
Syntax highlighting out of the box. Languages marked new were added in Vcode. Plugins can map more file extensions to these languages.
| Language | File extensions |
|---|---|
| Batchfile | .bat .cmd |
| C | .c .h |
| C# | .cake .cs .csx |
| C++ | .c++ .cc .cpp .cxx .h++ .hh .hpp .hxx .ii .in .inl .ino .ipp .ixx .tpp .txx |
| Clojure | .clj .cljc .cljs .cljx .clojure .edn |
| CoffeeScript new | .coffee .cson .iced |
| CSS | .css |
| Dart | .dart |
| Diff new | .diff .patch .rej |
| Dockerfile | .Containerfile .Dockerfile |
| F# | .fs .fsi .fsscript .fsx |
| Fortran | .f .f03 .f08 .f18 .f77 .f90 .f95 .for .fpp .ftn .pf |
| Go | .go |
| Groovy | .Jenkinsfile .gradle .groovy .gsh .gvy .gy .nf |
| Handlebars new | .handlebars .hbs .hjs |
| HTML | .asp .aspx .ejs .htm .html .jshtm .jsp .mdoc .rhtml .shtml .volt .xht .xhtml |
| Ini | .cfg .conf .directory .editorconfig .env .gitattributes .gitconfig .gitmodules .ini .properties .repo |
| Java | .jav .java |
| JavaScript | .cjs .es6 .js .jsx .mjs .pac |
| Json | .json |
| Julia | .jl |
| Kotlin | .kt .kts |
| LaTeX | .ctx .ltx .tex |
| Less new | .less |
| Lisp | .cl .l .lisp .lsp |
| Lua | .lua |
| Makefile | .Makefile .mak .mk |
| Markdown | .markdn .markdown .md .mdown .mdtext .mdtxt .mdwn .mkd .workbook |
| Objective-C new | .m |
| Perl | .nqp .p6 .pl .pl6 .pm .pm6 .pod .psgi .raku .rakudoc .rakumod .rakutest .t |
| PHP | .ctp .php .php4 .php5 .phtml |
| PowerShell new | .cdxml .ps1 .psd1 .psm1 .psrc .pssc |
| Pug new | .jade .pug |
| Python | .cpy .gyp .gypi .ipy .py .pyi .pyt .pyw .rpy |
| R new | .R .r |
| Ruby | .erb .gemspec .podspec .rake .rb .rbi .rbx .rjs .ru Appfile Appraisals Berksfile Brewfile Capfile Cheffile Dangerfile Deliverfile Fastfile Gemfile Guardfile Gymfile Hobofile Matchfile Podfile Puppetfile Rakefile Rantfile Scanfile Snapfile Thorfile Vagrantfile |
| Rust | .rs |
| SCSS new | .scss |
| Shell | .bash .bash_aliases .bash_login .bash_logout .bash_profile .bashrc .bsh .csh .cshrc .ebuild .fish .ksh .profile .sh .tcsh .tcshrc .xprofile .xsession .xsessionrc .yash_profile .yashrc .zlogin .zlogout .zprofile .zsh .zsh-theme .zshenv .zshrc |
| Smali | .smali |
| SQL | .dsql .sql .sqlite .sqlite2 .sqlite3 |
| Swift new | .swift |
| TOML | .toml |
| TypeScript | .cts .mts .ts .tsx |
| Visual Basic | .bas .brs .vb .vba .vbs |
| Vue | .vue |
| XML | .ascx .atom .axaml .axml .bpmn .cpt .csl .csproj .dita .ditamap .dtd .dtml .ent .fsproj .fxml .iml .isml .jmx .launch .menu .mxml .nuspec .opml .owl .proj .props .pt .publishsettings .pubxml .rbxlx .rbxmx .rdf .rng .rss .shproj .storyboard .targets .tld .tmx .vbproj .vcxproj .wsdl .wxi .wxl .wxs .xaml .xbl .xib .xlf .xliff .xml .xoml .xpdl .xsd .xul |
| YAML | .cff .eyaml .eyml .yaml .yml |
| ZIG | .zig .zon |