]> git.lizzy.rs Git - rust.git/blob - atom.md
a74a53233011c7ea943268b616d04712d7909a8c
[rust.git] / atom.md
1 # Running Rustfmt from Atom
2
3 You'll need to install [Beautify](https://atom.io/packages/atom-beautify), you
4 can do this by running `apm install atom-beautify`.
5
6 There are 2 setting that need to be configured in the atom beautifier config. 
7
8 Install rustfmt as per the [readme](README.md). In atom beautifier, make sure
9 rustfmt is the formatter:
10
11 ![image](https://cloud.githubusercontent.com/assets/6623285/11109392/e4bd9542-8915-11e5-805b-a02664b1f502.png)
12
13 Also set the path to your rustfmt location in atom beautifier as shown below.
14 (This setting is towards the bottom of the screen. Need to scroll):
15
16 ![image](https://cloud.githubusercontent.com/assets/6623285/11109320/54a0117e-8915-11e5-94be-80b5e91072eb.png)