language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

TypeScript inlay hints

Open blaumeise20 opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. VSCode added inlay hints a while ago. The problem is that svelte doesn't show them in script tags.

Describe the solution you'd like Show inlay hints like in normal JS/TS files.

blaumeise20 avatar Jan 14 '22 11:01 blaumeise20

I think we'll wait until the API is finalized and ships in the Language Server Protocol. Currently, it seems like the API is still in the proposed stage in vscode.

jasonlyu123 avatar Jan 15 '22 01:01 jasonlyu123

LSP 3.17 has support for inlay hints https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint

dummdidumm avatar May 29 '22 15:05 dummdidumm

TypeScript now has inlay hints

LeoDog896 avatar Nov 03 '22 12:11 LeoDog896

Has the API been finalized in LSP?

insilications avatar Dec 28 '22 15:12 insilications

Yes. And the feature we want to prioritize is also done. We'll do it soon.

jasonlyu123 avatar Dec 28 '22 23:12 jasonlyu123