You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default jdtls doesn't send inlay hints, this can be enabled by the server config (signatureHelp is not really inlay related, but still nice to have)
However, jdtls have a slow start and run in to the inlay hint not drawn on startup as discussed in neovim/neovim#26511 (comment)
so to work around that I have registered handler
Thanks for your report. The configs in this repo are unsupported and provided only as a starting point. We depend on users (like you) to troubleshoot issues with their specific LSP setups and send improvements.
If you found a bug in the core Nvim vim.lsp module (not part of this repo), the best way to get it fixed is to report to Nvim (not nvim-lspconfig) with:
steps to reproduce it without the particular LSP server and other factors particular to your environment
(optional, but very helpful): by adding a failing test case to lsp_spec.lua, which has code to setup a fake LSP server to simulate various scenarios
If you read the discussion, you see that the consensus was that this is not a bug in Neovim but should be fixed with setup. That is why I filed it here with the method I provide.
Language server
jdtls
Requested feature
By default jdtls doesn't send inlay hints, this can be enabled by the server config (signatureHelp is not really inlay related, but still nice to have)
However, jdtls have a slow start and run in to the inlay hint not drawn on startup as discussed in
neovim/neovim#26511 (comment)
so to work around that I have registered handler
This of course needs ot be genralized to check if the user have inlay hints enabled before toggling them, but you get the idea.
Other clients which have this feature
No response
The text was updated successfully, but these errors were encountered: