Skip to content

How to enable InlayHints for ALL parameter names? #50

Open
@sstepashka

Description

@sstepashka

Hello,

I am trying to enable parameters inlay for all parameters, and it seems something is not working here.

I am using the following configuration:

(use-package eglot-java
  :hook
  (java-mode . eglot-java-mode)
  (java-ts-mode . eglot-java-mode))

(setq eglot-java-user-init-opts-fn #'custom-eglot-java-init-opts)
(defun custom-eglot-java-init-opts (server eglot-java-eclipse-jdt)
  "Custom options that will be merged with any default settings."
  '(:settings (:java (:inlayHints (:parameterNames (:enabled "all"))))))

I tried the same parameter on lsp-java and it worked well. I am a bit lost here and looking for some guidance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions