lsp-mode
lsp-mode copied to clipboard
Support LSP 3.17 inlayHints
Clangd has supported inlay hints in v14, we should support it as well https://clangd.llvm.org/extensions#inlay-hints
@kiennq does that already follows LSP 3.17 inlayHints spec?
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
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
There is work on this in PR https://github.com/emacs-lsp/lsp-mode/pull/3970