rust-lang / rust-lang/rust-analyzer
Autocomplete / code hints not working on variable names
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
I lose auto-complete on some variable names when trying to access the variable from multiple threads and loops. Unfortunately, I couldn't replicate it in a bare minimum example however I made a short video with the bug. The code still runs fine.
Thank you very much for your time!
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 reviewing the linked reproduction video and the existing issue discussion, then try to construct a minimal example involving variable access across multiple threads and loops. The report provides no source file or reproducible test; done means identifying the cause and restoring autocomplete for the affected variable names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100