Skip to content

Commit

Permalink
Note Rustfmt for separate rust-analyzer directory (#2134)
Browse files Browse the repository at this point in the history
  • Loading branch information
samestep authored Nov 13, 2024
1 parent 0a7195c commit 45e9af8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/building/suggested.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ To avoid these problems:
- Add `--build-dir=build-rust-analyzer` to all of the custom `x` commands in
your editor's rust-analyzer configuration.
(Feel free to choose a different directory name if desired.)
- Modify the `rust-analyzer.rustfmt.overrideCommand` setting so that it points
to the copy of `rustfmt` in that other build directory.
- Modify the `rust-analyzer.procMacro.server` setting so that it points to the
copy of `rust-analyzer-proc-macro-srv` in that other build directory.

Expand Down

0 comments on commit 45e9af8

Please sign in to comment.