rust-lang / rust-lang/rust-analyzer
Implement server-side `serverVersion` command
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
The "Show RA Version" VS Code command currently runs rust-analyzer --version (using the right server path), but the output of that is unrelated to the version of the running server, so it gets out of sync when the binary is replaced.
This could be fixed by implementing the command as a server command instead of spawning a process.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace the VS Code “Show RA Version” command and the server-command handling it currently uses. Confirm how the running server exposes commands, then make the command report that server’s version instead of spawning rust-analyzer; done means the displayed version stays accurate after the binary is replaced.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, vscode
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100