Closed fgimian closed 1 year ago
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.
You could raise this issue in https://github.com/rust-analyzer/rust-analyzer if there isn't one already.
I've just raised a related issue in the rust-analyzer repo. Thanks so much @rchl! 😄
Feel free to close this issue if you wish or we can keep it open for visibility.
Kindest Regards Fotis
Appears to be working for me now.
Hey there, thank you so much for this incredible extension! 😄
I've enabled inlay hints in my LSP settings with
"show_inlay_hints": true
, however they only seem to appear after an edit is made to my source code.For example, after I open a source file, the inlay hints don't appear:
After making any edit (e.g. hitting the space key, typing a character etc.), the inlay hints show up:
I've verified that this doesn't happen with the gopls LSP package so I wonder if it's something that is related to this particular package?
Logs included below in case they are handy:
Thanks heaps in advance! 😄 Fotis