Open
Description
Bug Description
This may be a couple of bugs in one, but the core of the issue is triggered by the following steps:
- Open a Rust project
- Wait for rust-analyzer and rustowl to finish their checks
- Add a space to the end of a comment.
- Repeat step
3
periodically
This results in the following symptoms:
- The rustowl status will always be stuck checking.
rustowlc
is effectively always running when typing/making changes, using a lot of CPU.
A holistic fix would be to:
- Debounce triggers, especially since the result takes some time to show anyway.
- Only run when the cursor is placed on reasonable Rust syntax, i.e the middle of a variable.
Environment
- rustowl v0.2.0
- rustup 1.28.1
- rustc 1.86.0
- VSCode 1.99.2
- OS: Manjaro Linux