mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Merge pull request #2747 from alexheretic/master
Add atom rls rustfmt usage guide
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user