rust-lang / rust-lang/rust-analyzer
VSCode QOL: wait to clear problems tab until diagnostics finish
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
rust-analyzer version:
rust-analyzer version: 0.0.0 (75b22326d 2022-07-03)
rustc version:
rustc 1.60.0 (7737e0b5c 2022-04-04)
Great tool! I'm using the VSCode Problems tab.
Most of the time, I'm immediately ready to move on to the next problem after applying a fix.
Unfortunately, stale problems are cleared before the next cargo check completes.
This leaves a few seconds where I'm waiting for problems to appear, every time I fix a problem.
I'd prefer to have access to the stale problems until the updated batch of problems is ready.
Is there a way to tell rust-analyzer to wait to clear old problems until the next batch of problems is ready?
Thank you!
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
Reproduce the behavior in the VSCode Problems tab by fixing a problem and observing when stale diagnostics disappear relative to the next cargo check. Trace the diagnostics update path and make the old batch remain visible until the updated batch is ready; verify that the Problems tab no longer has a gap between batches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100