claude-code - 💡(How to fix) Fix [BUG] rust-analyzer-lsp notification unclear and poor response from claude code when asked about it [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52634Fetched 2026-04-24 06:01:54
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

LSP provides code intelligence like go-to-definition and error checking

Error Messages/Logs

Code Example

LSP Plugin Recommendation                                                                                                                                               

     LSP provides code intelligence like go-to-definition and error checking                                                                                               

     Plugin: rust-analyzer-lsp                                                                                                                                             
     Rust language server for code intelligence and analysis                                                                                                               
     Triggered by: .rs files                                                                                                                                               

     Would you like to install this LSP plugin?                                                                                                                            
1. Yes, install rust-analyzer-lsp                                                                                                                                   
       2. No, not now                                                                                                                                                      
       3. Never for rust-analyzer-lsp                                                                                                                                      
       4. Disable all LSP recommendations

---

n/a
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When interacting with claude code on a rust project I saw

❯  LSP Plugin Recommendation                                                                                                                                               

     LSP provides code intelligence like go-to-definition and error checking                                                                                               

     Plugin: rust-analyzer-lsp                                                                                                                                             
     Rust language server for code intelligence and analysis                                                                                                               
     Triggered by: .rs files                                                                                                                                               

     Would you like to install this LSP plugin?                                                                                                                            
     ❯ 1. Yes, install rust-analyzer-lsp                                                                                                                                   
       2. No, not now                                                                                                                                                      
       3. Never for rust-analyzer-lsp                                                                                                                                      
       4. Disable all LSP recommendations

A few problems here

  • the first time I saw it I chose "No" and then asked claude code what this plugin was - I said something like "I just got prompted to install a plugin something to do with rust LSP - where did that come from?"; claude knew nothing about it, and denied having put up the suggestio
  • the second time I saw it, I pasted the above into claude code and it said that this was in fact a plugin recommendation from claude code
    • I then asked for more details about this plugin with particular reference to whether the plugin itself communicated off-host and claude did not know the answers

A couple of things would be good to address

  1. Transparency: The LSP recommendation prompt should clearly state it originates from Claude Code itself, not a third party.
  2. Accountability: When Claude Code recommends a plugin, Claude should be able to definitively answer whether it runs locally or sends data off-machine — "I'm not sure" is not an acceptable answer for a privacy-relevant question about a feature Claude Code itself surfaced.

What Should Happen?

as above

Error Messages/Logs

n/a

Steps to Reproduce

  1. "create a cargo rust project" - the recommendation should come up

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.117

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The LSP recommendation prompt from Claude Code should be modified to clearly state its origin and provide definitive answers about plugin privacy.

Guidance

  • Update the LSP recommendation prompt to explicitly mention that it comes from Claude Code, improving transparency.
  • Enhance Claude Code's knowledge base to include detailed information about recommended plugins, such as their communication behavior, to address accountability concerns.
  • Consider adding a feature for Claude Code to fetch and provide plugin details on demand, ensuring up-to-date and accurate information.
  • Review the plugin recommendation algorithm to ensure it aligns with user privacy expectations and preferences.

Example

No code snippet is provided as the issue focuses on the functionality and transparency of Claude Code's LSP plugin recommendations rather than a specific code implementation.

Notes

The solution may require updates to Claude Code's internal knowledge base, plugin recommendation logic, and user interface to address the mentioned concerns effectively.

Recommendation

Apply workaround: Modify the LSP recommendation prompt to improve transparency and enhance Claude Code's plugin knowledge base to provide definitive answers about plugin privacy, as a more comprehensive solution may require significant updates to the platform.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] rust-analyzer-lsp notification unclear and poor response from claude code when asked about it [1 comments, 2 participants]