aboutsummaryrefslogtreecommitdiff
path: root/editors/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'editors/README.md')
-rw-r--r--editors/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/README.md b/editors/README.md
index a39ec62b0..a63ced725 100644
--- a/editors/README.md
+++ b/editors/README.md
@@ -1,6 +1,8 @@
1To install experimental VS Code plugin: 1To install experimental VS Code plugin:
2 2
3``` 3```
4$ git clone https://github.com/rust-analyzer/rust-analyzer.git
5$ cd rust-analyzer
4$ cargo install-code 6$ cargo install-code
5``` 7```
6 8
@@ -43,6 +45,8 @@ It's better to remove existing Rust plugins to avoid interference.
43 `#[test]`, this action runs this specific test. If the cursor is 45 `#[test]`, this action runs this specific test. If the cursor is
44 outside of the test function, this re-runs the last test. Do bind 46 outside of the test function, this re-runs the last test. Do bind
45 this to a shortcut! 47 this to a shortcut!
48 - **Format document**. Formats the current file with rustfmt.
49 Rustfmt must be installed separately with `rustup component add rustfmt`.
46 50
47* Typing assists 51* Typing assists
48 - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression. 52 - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression.