I would like to know if anyone knows how to use the emmet abbreviations on Visual Studio Code inside the sigil:
~L"""
"""
for the Phoenix Live View? it’s posible??
I would like to know if anyone knows how to use the emmet abbreviations on Visual Studio Code inside the sigil:
~L"""
"""
for the Phoenix Live View? it’s posible??
Try this on the settings.json file.
"emmet.includeLanguages": {
"html-eex": "html",
"elixir": "html"
}
And I don’t know why I already have the erb as welll:
"emmet.includeLanguages": {
"erb": "html",
"html-eex": "html",
"elixir": "html"
}
It’s that correct?
Not sure what’s your question! You can put as many as file type in there:
"whatever-filetype-wanted-html-emmet": "html"
Note though, “elixir” identify the whole elixir file. Try div and may get 2 div suggestion one is <div>
, another one is Kernel.div/2
. And the most annoying thing is def abc() do
once you type “do” and quick enter you will get the whole “doc” html snippet You may want to override “doc” html snippet if that’s annoying (otherwise, hit esc and enter).