diff options
| author | Ralf Jung <post@ralfj.de> | 2023-08-21 09:21:06 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-08-21 09:54:24 +0200 |
| commit | 887cc48ba8929f7fcc3d43258d5b7c76b1e2f8ea (patch) | |
| tree | 44923cb7d447eb2a535d007474654361d2339017 /docs | |
| parent | 83b3ba1b8191c065bb0dacc79e5896f7f21e4611 (diff) | |
| download | rust-887cc48ba8929f7fcc3d43258d5b7c76b1e2f8ea.tar.gz rust-887cc48ba8929f7fcc3d43258d5b7c76b1e2f8ea.zip | |
fix help text for rust-analyzer.check.invocation{Strategy,Location}
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user/generated_config.adoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 820535cc1b0..71feed0f72c 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -173,18 +173,18 @@ For example for `cargo check`: `dead_code`, `unused_imports`, `unused_variables` -- Specifies the working directory for running checks. - "workspace": run checks for workspaces in the corresponding workspaces' root directories. - This falls back to "root" if `#rust-analyzer.cargo.checkOnSave.invocationStrategy#` is set to `once`. + This falls back to "root" if `#rust-analyzer.cargo.check.invocationStrategy#` is set to `once`. - "root": run checks in the project's root directory. -This config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#` +This config only has an effect when `#rust-analyzer.cargo.check.overrideCommand#` is set. -- [[rust-analyzer.check.invocationStrategy]]rust-analyzer.check.invocationStrategy (default: `"per_workspace"`):: + -- -Specifies the invocation strategy to use when running the checkOnSave command. +Specifies the invocation strategy to use when running the check command. If `per_workspace` is set, the command will be executed for each workspace. If `once` is set, the command will be executed once. -This config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#` +This config only has an effect when `#rust-analyzer.cargo.check.overrideCommand#` is set. -- [[rust-analyzer.check.noDefaultFeatures]]rust-analyzer.check.noDefaultFeatures (default: `null`):: |
