Webstorm html code autocomplete

I am looking for a shortcut in WebStorm to automatically complete my html code. Therefore, in my case, if I write a type code .rowand press something, it should automatically write <div class="row"></div>.

+4
source share
1 answer

This "conversion" (abbreviation extension) is called Emmet .. and the default key is Tab.

But it can also be Entereither Space.. or even a custom key of your choice - you can change it toSettings/Preferences | Editor | Emmet


PS For large code snippets, see Live templates (code snippets) .

+7
source

Source: https://habr.com/ru/post/1658619/


All Articles