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
Hi there,I've noticed that the formatter in ElixirLS doesn’t support trailing commas in lists, maps, or function definitions. When using so,it will be auto trimed when saving.
Something like when I write this:
deftestdo{:foo,:bar,}end
It will auto formatted as:
deftestdo{:foo,:bar}end
Trailing commas can make diffs cleaner and code maintenance easier.
Is there any chance this feature or an settings option could be added in a future update?
The text was updated successfully, but these errors were encountered:
Environment
Troubleshooting
Hi there,I've noticed that the formatter in ElixirLS doesn’t support trailing commas in lists, maps, or function definitions. When using so,it will be auto trimed when saving.
Something like when I write this:
It will auto formatted as:
Trailing commas can make diffs cleaner and code maintenance easier.
Is there any chance this feature or an settings option could be added in a future update?
The text was updated successfully, but these errors were encountered: