settingsAccountsettings
By using our mini forum, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy
Menusettings

Q: Emmet not working with Visual Studio

+3 votes
I have a problem with Visual Studio Code and Emmet;

Whenever I try to use the tab key it will NOT expand in Visual Studio.

Is Emmet broken? What steps should I take to make it work again?

Thanks,
asked in Web Development category by user eiorgert
edited by user golearnweb

1 Answer

+2 votes

To make it work again properly, follow these steps:

File >> Preferences >> Settings >> Extensions >> Edit in the settings.json file

(see the screenshot below):

emmet not working visual studio

and add the following line:
"emmet.triggerExpansionOnTab":true,

(see the 2nd screenshot below):

Visual Studio emmet not working properly

Add this line as well to the settings.json file:

"files.associations":{"*html":"html"},

emmet not working with visual studio

answered by user hues
Thanks! Like in the video: https://www.youtube.com/watch?v=FbOJtDuItYc
...