Skip to content

Support for workspace/inlayHint/refresh to ensure inlay hints are correctly shown in editors #13369

Closed
@fgimian

Description

@fgimian

Hey there folks, I hope you're all doing well. This issue is related to sublimelsp/LSP-rust-analyzer#80

In editors such as Sublime Text, inlay hints do not show up until an edit is made to a document. As Rafał has mentioned:

Server initially responds with an error to textDocument/inlayHint requests as it's still initializing.

Since in the new spec version there exists a workspace/inlayHint/refresh notification (and we support it), it would be most natural if the server would send it once it finishes loading.

Please see related documentation for workspace/inlayHint/refresh here.

Would you please consider supporting this? 😄

Thanks in advance!
Fotis

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions