For enabling emmet in Phoenix templates and liveview templates, I used the following settings kindly provided by the Pragmatic Studio Liveview course:
"emmet.includeLanguages": {
"html-eex": "html",
"elixir": "html"
},
"emmet.triggerExpansionOnTab": true,
It works well but there is a tiny difference vs. emmets default behavior in .html files
In .html files, pressing enter from <div>|</div>
takes you to
<div>
|
</div>
(the pipe | is the cursor)
but the exact same thing when done in .eex or .leex does not produce the nice indented newline between the div tags. What I get is this:
<div>
|</div>
Not a huge issue but why this subtle difference?