You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--dot-formatter argument is respected (or, if not respected, is configurable)
Actual behaviour
--dot-formatter argument is not respected or configurable
Spitballing
I'm not sure if this is possible, but it'd rule if you could specify the exact formatting command to run in your VS Code settings and the format task would use that command instead. The default value would be mix format
The text was updated successfully, but these errors were encountered:
ElixirLS handler for LSP textDocument/formatting does not run the mix task. It calls formatter APIs directly. If you need changing path I suggest opening an issue in elixir so dot-formatter path setting can be read from mix project.
Is this the right repo?
This is specifically a request for this repo
Environment
Troubleshooting
.elixir_ls
directory, then restart your editorSetup
.formatter.exs
into a directory liketooling/.formatter.exs
mix format
like:Expected behaviour
--dot-formatter
argument is respected (or, if not respected, is configurable)Actual behaviour
--dot-formatter
argument is not respected or configurableSpitballing
I'm not sure if this is possible, but it'd rule if you could specify the exact formatting command to run in your VS Code settings and the format task would use that command instead. The default value would be
mix format
The text was updated successfully, but these errors were encountered: