Check for existing issues
Describe the bug / provide steps to reproduce it
Toggling comments in Zed via
cmd+ß
leads currently to the following results:
Within .heex files:
# comment
Within ~H sigils in .ex files:
<%# comment %>
Both is deprecated (see https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.HTMLFormatter.html#module-comments) and the problem is, that such commented lines are automatically removed by the Phoenix.LiveView.Formatter after formatting/saving the file.
Toggling comments should be changed to:
<% # comment %> or <%!-- comment --%>
Environment
Zed: v0.92.4 (stable)
OS: macOS 13.4.1
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Within ~H sigil in .ex file

Within .heex file:

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response
Check for existing issues
Describe the bug / provide steps to reproduce it
Toggling comments in Zed via
leads currently to the following results:
Within .heex files:
# commentWithin ~H sigils in .ex files:
<%# comment %>Both is deprecated (see https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.HTMLFormatter.html#module-comments) and the problem is, that such commented lines are automatically removed by the Phoenix.LiveView.Formatter after formatting/saving the file.
Toggling comments should be changed to:
<% # comment %>or<%!-- comment --%>Environment
Zed: v0.92.4 (stable)
OS: macOS 13.4.1
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Within ~H sigil in .ex file
Within .heex file:
If applicable, attach your
~/Library/Logs/Zed/Zed.logfile to this issue.If you only need the most recent lines, you can run the
zed: open logcommand palette action to see the last 1000.No response