hopsor / atom-elixir-formatter

Elixir source code formatter for the Atom editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Atom Elixir Formatter

Build Status license

header

demo

Description

Elixir source code formatter for the Atom editor. It automatically formats Elixir code using the new formatter in Elixir 1.6.

Installation

Note that atom-elixir-formatter requires Elixir 1.6, which is currently unreleased. You'll need to download and compile the master branch of Elixir:

git clone https://github.com/elixir-lang/elixir.git
cd elixir
make clean test

Install the atom-elixir-formatter package:

apm install atom-elixir-formatter

Restart Atom and change the atom-elixir-formatter settings for Elixir Executable to the absolute path of the elixir executable.

settings

Usage

Elixir files are formatted automatically on save. This can be disabled in Settings.

You can manually format sections of code using the keyboard shortcut CTRL + ALT + F.

Maintainers

Ron Green

About

Elixir source code formatter for the Atom editor

License:MIT License


Languages

Language:JavaScript 98.1%Language:CSS 1.8%Language:Elixir 0.2%