From 45e9af8e485cbc46d6a293031f42702ce2928a01 Mon Sep 17 00:00:00 2001 From: Sam Estep Date: Wed, 13 Nov 2024 08:37:25 -0500 Subject: [PATCH] Note Rustfmt for separate rust-analyzer directory (#2134) --- src/building/suggested.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/building/suggested.md b/src/building/suggested.md index 2368a130..c23965b9 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.