Emmet is enabled by default out of the box in VSCode for the following: html, haml, pug, slim, jsx, xml, xsl, css, scss, sass, less, stylus
.
Enabling Emmet in Other Filetypes
If you want to enable Emmet in other file types (ie: while working in React) we need to open the Command Pallette by hitting Ctrl/Cmd+Shift+P
, then enter settings.json
and add the following:
|
|
Make sure that you use the proper language identifier, a list of them can be found here Language Identifiers.