Skip to content

Commit 45e9af8

Browse files
authored
Note Rustfmt for separate rust-analyzer directory (#2134)
1 parent 0a7195c commit 45e9af8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/building/suggested.md

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ To avoid these problems:
5757
- Add `--build-dir=build-rust-analyzer` to all of the custom `x` commands in
5858
your editor's rust-analyzer configuration.
5959
(Feel free to choose a different directory name if desired.)
60+
- Modify the `rust-analyzer.rustfmt.overrideCommand` setting so that it points
61+
to the copy of `rustfmt` in that other build directory.
6062
- Modify the `rust-analyzer.procMacro.server` setting so that it points to the
6163
copy of `rust-analyzer-proc-macro-srv` in that other build directory.
6264

0 commit comments

Comments
 (0)