+
Skip to content

VSCode RustOwl Always checking #75

Open
@G-M0N3Y-2503

Description

@G-M0N3Y-2503

Bug Description

This may be a couple of bugs in one, but the core of the issue is triggered by the following steps:

  1. Open a Rust project
  2. Wait for rust-analyzer and rustowl to finish their checks
  3. Add a space to the end of a comment.
  4. Repeat step 3 periodically

This results in the following symptoms:

  1. The rustowl status will always be stuck checking.
    Many rustowl "checking" notifications
  2. rustowlc is effectively always running when typing/making changes, using a lot of CPU.

A holistic fix would be to:

  1. Debounce triggers, especially since the result takes some time to show anyway.
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtier-1Top priority tasks

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载