Skip to content

Astro LSP broken because of inlay hints #7484

Discussion options

You must be logged in to vote

We tell the language server that we don't support the refresh method:

inlay_hint: Some(lsp::InlayHintWorkspaceClientCapabilities {
refresh_support: Some(false),
}),

So astro-ls should not be sending this request. We're sending a JSONRPC error saying that we don't implement the workspace/inlayHint/refresh method as a response when it sends that request. It looks like the server isn't handling the rejected promise, so that promise kills the whole server. These are both astro-ls issues rather than Helix issues.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dsaghliani
Comment options

Answer selected by dsaghliani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #7479 on June 29, 2023 16:29.