I'm looking for a VS Code extension which help me autocomplete my HTML tag in twig files.
I would like to write "h1", then press enter and get:
<h1></h1>
For now I installed thoses extensions: "Symfony code snippets And Twig Support & Yaml", "Twig", "Twig Language 2", "Twig Language", but it didn't work. Can someone recommend me one?
I also don't have autocompletion if I'm trying to write for example:
{% for message in app.session.flashBag.get('info') %}
CodePudding user response:
Just go to your VSCode Settings > in User tab > Extensions > Emmet. All you have to do is adding an item in "Include languages".
- Item : twig
- Value : html
Have a nice day