After updating to Elixir 1.15.5 ~H sigils are no longer formatted by the VSCode ElixirLS plugin. To reproduce, generate a new Phoenix project with mix phx.new example
. The generated ExampleWeb.CoreComponents
module contains ~H sigils that can be used for testing and the generated .formatter.exs
file includes plugins: [Phoenix.LiveView.HTMLFormatter]
. Running mix format
from the command line will result in the ~H sigils being formatted. But if the formatter is run by ElixirLS then the Elixir code is formatted but not the ~H sigils.
Downgrading to Elixir 1.15.4 fixes the problem.
Expected behaviorI would expect ~H sigils to be formatted by ElixirLS as it was prior to Elixir version 1.15.5.
Thanks.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4