diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index e240318a13..0f8840a810 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -248,7 +248,7 @@ config_data! { lens_run_enable: bool = true, /// Whether to show `Update Test` lens. Only applies when /// `#rust-analyzer.lens.enable#` and `#rust-analyzer.lens.run.enable#` are set. - lens_update_test_enable: bool = true, + lens_updateTest_enable: bool = true, /// Disable project auto-discovery in favor of explicitly specified set /// of projects. @@ -2134,7 +2134,7 @@ impl Config { run: *self.lens_enable() && *self.lens_run_enable(), debug: *self.lens_enable() && *self.lens_debug_enable(), update_test: *self.lens_enable() - && *self.lens_update_test_enable() + && *self.lens_updateTest_enable() && *self.lens_run_enable(), interpret: *self.lens_enable() && *self.lens_run_enable() && *self.interpret_tests(), implementations: *self.lens_enable() && *self.lens_implementations_enable(), diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index c78d577fff..fffbb94efa 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -814,7 +814,7 @@ Only applies when `#rust-analyzer.lens.enable#` is set. Whether to show `Run` lens. Only applies when `#rust-analyzer.lens.enable#` is set. -- -[[rust-analyzer.lens.update.test.enable]]rust-analyzer.lens.update.test.enable (default: `true`):: +[[rust-analyzer.lens.updateTest.enable]]rust-analyzer.lens.updateTest.enable (default: `true`):: + -- Whether to show `Update Test` lens. Only applies when diff --git a/editors/code/package.json b/editors/code/package.json index 2c7b129618..426414becb 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -2313,7 +2313,7 @@ { "title": "lens", "properties": { - "rust-analyzer.lens.update.test.enable": { + "rust-analyzer.lens.updateTest.enable": { "markdownDescription": "Whether to show `Update Test` lens. Only applies when\n`#rust-analyzer.lens.enable#` and `#rust-analyzer.lens.run.enable#` are set.", "default": true, "type": "boolean"