Decorations (or soon to be offered as InlayHints) are a nice way to provide the DSL user with more context (just like the gitlens extension does).
Currently, it's not exposed in LSP (see: lsp#956 and: vscode-imp#772). I want to propose we still add it to the LanguageService adt.
As I understand it: VSCode (and later LSP) is getting InlayHints api in the future, which are more constrained version of Decorations. Until we get native inlayHints in LSP, we can simulate it by sending Decorations to the IDE.
Decorations (or soon to be offered as InlayHints) are a nice way to provide the DSL user with more context (just like the gitlens extension does).
Currently, it's not exposed in LSP (see: lsp#956 and: vscode-imp#772). I want to propose we still add it to the
LanguageServiceadt.As I understand it: VSCode (and later LSP) is getting
InlayHints api in the future, which are more constrained version of Decorations. Until we get native inlayHints in LSP, we can simulate it by sending Decorations to the IDE.