SZJX
Quickly trigger comments for .html.eex files in VSCode?
The ElixirLS plugin for VSCode has been pretty good, however it just doesn’t seem to provide much support for .html.eex files. I get no autocompletion or automatic formatting.
The most annoying for me, however, is the inability to quickly comment out lines. For embedded Elixir it’s easier as all you need to do is to type a #. However for lines of actual HTML, manually typing out the commenting syntax gets much more annoying.
Is there anybody who got their VSCode to easily comment .html.eex files? Maybe I just didn’t set something up correctly? I noticed that there’s another plugin vscode-elixir, however since there seem to be functionality overlaps/conflicts, I only installed ElixirLS.
Marked As Solved
dimitarvp
Yes, I have both vscode-elixir and ElixirLS.
Also Liked
praveenperera
Have you enabled emmet in eex files?
"emmet.includeLanguages": {"HTML (Eex)": "html"}
SZJX
@dimitarvp Installing vscode-elixir indeed enabled the syntax highlighting for .html.eex files. It seems that there are functionality overlaps with both plugins but if things work fine I’ll just go with such a configuration for now.
@OvermindDL1 Yeah I think Emacs and IntelliJ also support both types of commenting. But I currently prefer to use VSCode for my coding in general due to its good support for other languages. I think it’s more of a case of the authors not having time to add such support. I opened issues in the repos but there was no reply.







