Skip to content

Successively disabling and enabling inlay hints doesn't reliably work without typing a character #12027

@x-hgg-x

Description

@x-hgg-x

rust-analyzer version: rust-analyzer version: 65fbe0a 2022-04-18 stable

rustc version: rustc 1.60.0 (7737e0b5c 2022-04-04)

relevant settings: Vscode 1.66 on Linux

In the previous version of the extension, I could easily toogle inlay hints with the Rust Analyzer: Toggle inlay hints command.
Now, with the switch to LSP inlay hints, I cannot reenable inlay hints immediately after disabling it, and I need to type a character to "refresh" rust-analyzer.

In the following video, the inlay hints stop working at 0:06, then after I insert a space at 0:10, it works again at 0:12:

out.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-inlay-hintsinlay/inline hintsC-bugCategory: bugS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions