Closed basilenouvellet closed 1 year ago
Commenting in *.heex files works as expected with <%!-- ... --%> tokens introduced by #14.
*.heex
<%!-- ... --%>
In H sigils though, commenting does not work because code is considered as classic Elixir code (# ... token is used).
# ...
commenting_issue_in_h_sigils.webm
Make VSCode consider code inside H sigils as phoenix-heex language, leveraging the embeddedLanguages feature.
phoenix-heex
embeddedLanguages
commenting_issue_in_h_sigils_solved.webm
❤️❤️❤️🐥🔥
Problem
Commenting in
*.heex
files works as expected with<%!-- ... --%>
tokens introduced by #14.In H sigils though, commenting does not work because code is considered as classic Elixir code (
# ...
token is used).commenting_issue_in_h_sigils.webm
Solution
Make VSCode consider code inside H sigils as
phoenix-heex
language, leveraging theembeddedLanguages
feature.commenting_issue_in_h_sigils_solved.webm