Visual Studio Code Emmet not working

Karan Nayyar picture Karan Nayyar · Feb 20, 2018 · Viewed 32.5k times · Source

I am using VisualStudioCode 1.20.1 Version. Emmet is inbuilt according to VSC website.But when i am trying on VSC IDE and using anchor tag and referring to class dropdown-toggle the class is not auto suggested or recognized by vsc.

Answer

Tien Lin picture Tien Lin · Jul 18, 2018

In your vscode user setting, add

"emmet.includeLanguages": { "javascript": "html" }

That way you can use emmmet in your js files.