O Emmet não está a funcionar com o Visual Studio

  

2
Início do tópico

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, tuto

1 Answer
1

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

You can watch this video:

Partilhar: