rust-lang / rust-lang/rust-analyzer
Inlay hints rapidly spawning and despawning in VSCode, making code unreadable while typing
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
This may in fact be an issue with VS Code, if so, let me know and I'll submit an issue to them.
This is what I'm experiencing... as you can see pretty much impossible to see what I'm typing:
The inlay hints rapidly despawn and then respawn every time a new character is added, shifting the whole formatting around as they do so...
This seems like a recent issue, I hadn't really noticed it this bad until today
Rust Analyzer Version:
Version 0.4.2689, Server Version 0.4.2689-standalone (eaaa2da9fb 2025-11-20)
VS Code Version:
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
Start by reproducing the inlay-hint behavior while typing in VS Code with the reported Rust Analyzer version 0.4.2689. Inspect the Rust Analyzer inlay-hints path and compare editor updates to determine whether hints are being removed and recreated on each character; done means typing no longer causes visible hint flicker or formatting shifts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100