An Elixir source code formatter for the Atom editor. It automatically formats Elixir using the new code formatter in Elixir v1.6.
Note that Atom Elixir Formatter requires Elixir v1.6, which is currently unreleased. You'll need to download and compile the master branch of Elixir:
# download and compile master branch of Elixirgit clone https://github.com/elixir-lang/elixir.gitcd elixirmake clean test
Next, install the
# install atom-elixir-formatter packageapm install atom-elixir-formatter
Last, restart Atom and change the
atom-elixir-formatter setting for Elixir
Executable to the absolute path of your
Elixir files are formatted automatically on save. This can be disabled in
Settings, or set to occur only when projects include a
You can manually format sections of code using the keyboard shortcut CTRL + ALT + F.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.