Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust-analyzer - manual downgrade, auto updates, release notifications #22765

Open
1 of 4 tasks
MihaelBercic opened this issue Jan 7, 2025 · 1 comment
Open
1 of 4 tasks
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue

Comments

@MihaelBercic
Copy link

Check for existing issues

  • Completed

Describe the feature

After yesterdays somewhat broken release of rust-analyzer (rust-lang/rust-analyzer#18854), which has now been fixed, it highlighted a maybe missing feature. Which would be to manually downgrade rust-analyzer version and perhaps even a toggle for auto-updating it, notification regarding rust-analyzer releases and updates?

Temporary workaround for the issue in question was to downgrade rust-analyzer, however with Zed it simply wasn't possible (at least not that we're aware of?).

  •  Ability to downgrade rust-analyzer version
  • Ability to toggle auto-updates for rust-analyzer
  • rust-analyzer update notifications (if auto-update is not toggled on).

Thank you.

Zed Version and System Specs

Zed: v0.167.2 (Zed)
OS: macOS 15.1.1
Memory: 64 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@MihaelBercic MihaelBercic added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Jan 7, 2025
@mrnugget
Copy link
Member

mrnugget commented Jan 7, 2025

You could configure rust-analyzer to use a binary on your machine, for example.

{
  "lsp": {
    "rust-analyzer": {
      "binary": {
        "ignore_system_version": false,
      }
    }
  }
}

That would try to find rust-analyzer in $PATH.

Or you specify the path manually:

{
  "lsp": {
    "rust-analyzer": {
      "binary": {
        "path": "/Users/foobar/bin/rust-analyzer,
      }
    }
  }
}

I think that's a simpler workaround here than providing version management/selection in side Zed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

2 participants