mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Document formatting capabilities
This commit is contained in:
parent
8b24f158f7
commit
ee9fc3f998
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ It's better to remove existing Rust plugins to avoid interference.
|
|||
`#[test]`, this action runs this specific test. If the cursor is
|
||||
outside of the test function, this re-runs the last test. Do bind
|
||||
this to a shortcut!
|
||||
- **Format document**. Formats the current file with rustfmt.
|
||||
Rustfmt must be installed separately with `rustup component add rustfmt`.
|
||||
|
||||
* Typing assists
|
||||
- typing `let =` tries to smartly add `;` if `=` is followed by an existing expression.
|
||||
|
|
Loading…
Reference in a new issue