Add atom rls rustfmt usage guide

This commit is contained in:
Alex Butler 2018-05-29 09:04:56 +01:00
parent f390626778
commit 6c14dba4e9
No known key found for this signature in database
GPG Key ID: E1355A2F8E415521

12
atom.md
View File

@ -1,6 +1,16 @@
# Running Rustfmt from Atom
You'll need to install [Beautify](https://atom.io/packages/atom-beautify), you
## RLS
Rustfmt is included with the Rust Language Server, itself provided by [ide-rust](https://atom.io/packages/ide-rust).
`apm install ide-rust`
Once installed a file is formatted with `ctrl-shift-c` or `cmd-shift-c`, also available in context menu.
## atom-beautify
Another way is to install [Beautify](https://atom.io/packages/atom-beautify), you
can do this by running `apm install atom-beautify`.
There are 2 setting that need to be configured in the atom beautifier configuration.