Open kandeshvari opened 6 years ago
Cmd + /
works fine for me once inside an EEx tag, but it uses #
because that's the Elixir comment. So, that needs to be fixed
Selecting consecutive EEx tags works, but this also shows that uncommenting with Cmd + /
doesn't work because the Elixir comment is put outside the EEx tag.
This could be a side-effect of having to treat the whitespace between EEx tags as belonging to EEx in order to handle spacing between the do
and stab operations as normally that would count as template data:
<% cond do %>
<% false -> %>
...
<% end %>
Finally, inter-language commenting does not work when the selection spans both HTML tags and EEx tags.
Only the ending language, Elixir comment is used. I'm not even sure OpenAPI handles this. It may be something I need to do custom.
Now even if I want to comment on pure HTML lines, IntelliJ uses #
, which is wrong... Would there be a way to fix it or maybe temporarily use the HTML commenting syntax instead? It's much harder to type than the single #
required for commenting out Elixir, actually.
any solution on this?
@manuelgeek
use <!-- multi line here -->
@dunker1304 thank you, I hadn't tried this, it works
Any update on this issue ? Please let me know
subj
ctrl + /