lsp-mode icon indicating copy to clipboard operation
lsp-mode copied to clipboard

Support LSP 3.17 inlayHints

Open kiennq opened this issue 2 years ago • 2 comments

Clangd has supported inlay hints in v14, we should support it as well https://clangd.llvm.org/extensions#inlay-hints

kiennq avatar Apr 27 '22 03:04 kiennq

@kiennq does that already follows LSP 3.17 inlayHints spec?

ericdallo avatar Apr 27 '22 12:04 ericdallo

Sorry for the late reply, it should follow the official inlayHints specs. https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint

kiennq avatar Aug 23 '22 09:08 kiennq

May duplicate to https://github.com/emacs-lsp/lsp-mode/issues/3292. Currently I can see inlay hints works very well for rust-analyzer but not for clangd.

Link: https://github.com/emacs-lsp/lsp-mode/issues/3618

inclyc avatar Nov 12 '22 07:11 inclyc

There is work on this in PR https://github.com/emacs-lsp/lsp-mode/pull/3970

mheister avatar Mar 18 '23 23:03 mheister