julia-vscode / LanguageServer.jl

An implementation of the Microsoft Language Server Protocol for the Julia language.
Other
365 stars 81 forks source link

Add InlayHint provider #1060

Open pfitzseb opened 2 years ago

pfitzseb commented 2 years ago

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint

Can expose type info a bit better that way, I think; this is what that looks like in JS: image

davidanthoff commented 2 years ago

I guess the question is what would we actually show? Would we run inference?

pfitzseb commented 2 years ago

We already have some limited type info from StaticLint, so we have something to show ;)