From 3d80e0a15417ccf731a68e3100dfb4c7619c9274 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 4 Mar 2021 14:52:36 +0300 Subject: Migrate to user-centric config name for `cargo check` stuff --- docs/user/generated_config.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/user/generated_config.adoc') diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index f91e04c31..1dbf2a611 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -10,8 +10,8 @@ Activate all available features (`--all-features`). [[rust-analyzer.cargo.features]]rust-analyzer.cargo.features (default: `[]`):: List of features to activate. -[[rust-analyzer.cargo.loadOutDirsFromCheck]]rust-analyzer.cargo.loadOutDirsFromCheck (default: `false`):: - Run `cargo check` on startup to get the correct value for package OUT_DIRs. +[[rust-analyzer.cargo.runBuildScripts]]rust-analyzer.cargo.runBuildScripts (default: `false`):: + Run build scripts (`build.rs`) for more precise code analysis. [[rust-analyzer.cargo.noDefaultFeatures]]rust-analyzer.cargo.noDefaultFeatures (default: `false`):: Do not activate the `default` feature. [[rust-analyzer.cargo.target]]rust-analyzer.cargo.target (default: `null`):: @@ -97,7 +97,7 @@ [[rust-analyzer.notifications.cargoTomlNotFound]]rust-analyzer.notifications.cargoTomlNotFound (default: `true`):: Whether to show `can't find Cargo.toml` error message. [[rust-analyzer.procMacro.enable]]rust-analyzer.procMacro.enable (default: `false`):: - Enable Proc macro support, `#rust-analyzer.cargo.loadOutDirsFromCheck#` must be enabled. + Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`. [[rust-analyzer.procMacro.server]]rust-analyzer.procMacro.server (default: `null`):: Internal config, path to proc-macro server executable (typically, this is rust-analyzer itself, but we override this in tests). [[rust-analyzer.runnables.overrideCargo]]rust-analyzer.runnables.overrideCargo (default: `null`):: -- cgit v1.2.3