-
Notifications
You must be signed in to change notification settings - Fork 143
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Inlay hints support was added to LSP 3.17:
- spec: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint
- related issue in LSP repo: Feature: Inlay Hints microsoft/language-server-protocol#956
What's an inlay hint?
See https://code.visualstudio.com/docs/languages/typescript#_inlay-hints
What's in it for us?
Having type annotations for local definitions as inlay hints would be very nice.
It's not an urgent but quite useful feature, IMO.
References:
- Rust analyzer PR switching to LSP inlay hints: https://github.com/rust-lang/rust-analyzer/pull/11935/files#diff-4bec6bfceb4323ffd0d2ff1ad25070234f084f31ddd5577bbdb510de878a3811
rbjorklin, michaelmesser, sina-devel, eilvelia, cschmatzler and 5 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request