From c04b561e7e7d031d7e1be9307fb8d539765768ff Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 26 Jan 2021 16:03:24 +0300 Subject: Remove the need to manually sync config in package.json --- docs/user/generated_config.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/user') diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 2f681b01a..1974082da 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -7,7 +7,7 @@ [[rust-analyzer.cargo.autoreload]]rust-analyzer.cargo.autoreload (default: `true`):: Automatically refresh project info via `cargo metadata` on `Cargo.toml` changes. [[rust-analyzer.cargo.allFeatures]]rust-analyzer.cargo.allFeatures (default: `false`):: - Activate all available features. + 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`):: @@ -21,9 +21,9 @@ [[rust-analyzer.checkOnSave.enable]]rust-analyzer.checkOnSave.enable (default: `true`):: Run specified `cargo check` command for diagnostics on save. [[rust-analyzer.checkOnSave.allFeatures]]rust-analyzer.checkOnSave.allFeatures (default: `null`):: - Check with all features (will be passed as `--all-features`). Defaults to `#rust-analyzer.cargo.allFeatures#`. + Check with all features (`--all-features`). Defaults to `#rust-analyzer.cargo.allFeatures#`. [[rust-analyzer.checkOnSave.allTargets]]rust-analyzer.checkOnSave.allTargets (default: `true`):: - Check all targets and tests (will be passed as `--all-targets`). + Check all targets and tests (`--all-targets`). [[rust-analyzer.checkOnSave.command]]rust-analyzer.checkOnSave.command (default: `"check"`):: Cargo command to use for `cargo check`. [[rust-analyzer.checkOnSave.noDefaultFeatures]]rust-analyzer.checkOnSave.noDefaultFeatures (default: `null`):: @@ -91,7 +91,7 @@ [[rust-analyzer.linkedProjects]]rust-analyzer.linkedProjects (default: `[]`):: Disable project auto-discovery in favor of explicitly specified set of projects.\n\nElements must be paths pointing to `Cargo.toml`, `rust-project.json`, or JSON objects in `rust-project.json` format. [[rust-analyzer.lruCapacity]]rust-analyzer.lruCapacity (default: `null`):: - Number of syntax trees rust-analyzer keeps in memory. Defaults to 128. + Number of syntax trees rust-analyzer keeps in memory. Defaults to 128. [[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`):: -- cgit v1.2.3