From 13572bd4dd2c6a95a611b5644e4e489c618e5f64 Mon Sep 17 00:00:00 2001 From: Sam Estep Date: Mon, 11 Nov 2024 11:17:44 -0500 Subject: [PATCH] Note Rustfmt for separate rust-analyzer directory --- src/building/suggested.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/building/suggested.md b/src/building/suggested.md index 2368a1308..c23965b98 100644 --- a/src/building/suggested.md +++ b/src/building/suggested.md @@ -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.