Describe the bug
I have a component file with the following contents
defmodule Component do
use Phoenix.LiveComponent
def render(assigns) do
~H"""
<div>
<span>text</span>
<span>more text
</span>
</div>
"""
end
end
When format-on-save runs, I expect it to be formatted to this:
defmodule Component do
use Phoenix.LiveComponent
def render(assigns) do
~H"""
<div>
<span>text</span>
<span>more text</span>
</div>
"""
end
end
To reproduce
Run Dexter's formatter on an .ex file that contains a sigil that a plugin should format, e.g. Phoenix.LiveView.HTMLFormatter for ~H.
Expected behavior
I expect sigil contents to be formatted using the applicable plugin(s).
Debug logs
Formatter: plugins loaded: Phoenix.LiveView.HTMLFormatter
2026/04/15 13:07:51 Formatting: /component.ex (39.099875ms, persistent)
Environment
- Dexter version (
dexter --version): 0.5.3
- Elixir version (
elixir --version): 1.19.5
- Editor and version: Windsurf 1.110.1
- OS: macOS Tahoe 26.4
Describe the bug
I have a component file with the following contents
When format-on-save runs, I expect it to be formatted to this:
To reproduce
Run Dexter's formatter on an
.exfile that contains a sigil that a plugin should format, e.g.Phoenix.LiveView.HTMLFormatterfor~H.Expected behavior
I expect sigil contents to be formatted using the applicable plugin(s).
Debug logs
Environment
dexter --version): 0.5.3elixir --version): 1.19.5