diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index fa8472e62f..42e1ad376c 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -79,7 +79,7 @@ pub struct LensConfig { impl Default for LensConfig { fn default() -> Self { - Self { run: true, debug: true, implementations: true, method_refs: true } + Self { run: true, debug: true, implementations: true, method_refs: false } } } @@ -467,7 +467,7 @@ config_data! { lens_enable: bool = true, lens_implementations: bool = true, lens_run: bool = true, - lens_methodReferences: bool = true, + lens_methodReferences: bool = false, linkedProjects: Vec = Vec::new(), lruCapacity: Option = None, diff --git a/editors/code/package.json b/editors/code/package.json index 4414b3e662..bdd8a0c298 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -557,7 +557,7 @@ "rust-analyzer.lens.methodReferences": { "markdownDescription": "Whether to show `Method References` lens. Only applies when `#rust-analyzer.lens.enable#` is set.", "type": "boolean", - "default": true + "default": false }, "rust-analyzer.hoverActions.enable": { "description": "Whether to show HoverActions in Rust files.",