Replies: 3 comments 3 replies
-
It looks like jdtls is sending a That config looks ok but I haven't tried using jdtls. Make sure that is under a # ~/.config/helix/languages.toml
[[language]]
name = "java"
[language.config.java.inlayHints]
parameterNames.enabled = "all" and also that inlay hints is enabled in config: # ~/.config/helix/config.toml
[editor.lsp]
display-inlay-hints = true |
Beta Was this translation helpful? Give feedback.
-
Verified and still not working. Seems like jdtls is expecting the editor to request the update before it will actually provide inlay hints.
I'll look into supporting workspace/inlayHint/refresh in helix and see if that fixes the issue. |
Beta Was this translation helpful? Give feedback.
-
Putting this in case it helps anyone: The following configuration works for me with the jdtls language server: [language-server.jdtls.config.java.inlayHints]
parameterNames.enabled = "all" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The eclipse lsp jdtls support inlay hints for parameter names. In vscode the setting for enabling inlay hints is
"java.inlayHints.parameterNames.enabled": "all"
and so in my languages.toml I addedI don't get any inlay hints and in my log file I see
2023-04-16T00:57:33.300 helix_term::application [ERROR] Language Server: Method workspace/inlayHint/refresh not found in request 3
Is this even how I would go about adding support for inlay hints in Java or is there something else I need to add?
Beta Was this translation helpful? Give feedback.
All reactions