You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/building/suggested.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,10 @@ You can also install the hook as a step of running `./x.py setup`!
22
22
`rust-analyzer` can help you check and format your code whenever you save
23
23
a file. By default, `rust-analyzer` runs the `cargo check` and `rustfmt`
24
24
commands, but you can override these commands to use more adapted versions
25
-
of these tools when hacking on `rustc`. For example, `x.py setup` will prompt you to create a .vscode/settings.json file which will configure Visual Studio code. This will ask
26
-
`rust-analyzer` to use `./x.py check` to check the sources, and the stage 0
27
-
rustfmt to format them.
25
+
of these tools when hacking on `rustc`. For example, `x.py setup` will prompt
26
+
you to create a `.vscode/settings.json` file which will configure Visual Studio code.
27
+
This will ask `rust-analyzer` to use `./x.py check` to check the sources, and the
28
+
stage 0 rustfmt to format them.
28
29
29
30
If you have enough free disk space and you would like to be able to run `x.py` commands while
30
31
rust-analyzer runs in the background, you can also add `--build-dir build-rust-analyzer` to the
0 commit comments