BBx-Kitchen / bbj-language-server

BBj Language Server
MIT License
6 stars 6 forks source link

Inlay hints #108

Open hyyan opened 11 months ago

hyyan commented 11 months ago

What do we need to do to make VSCode show hints about function parameters and what a function returns (Inlay hints)? Does the language server give us all the info we need to make a hint provider work? Check out registerInlayHintsProvider at this link for more.

dhuebner commented 11 months ago

@hyyan Langium provides an interface for that called InlayHintProvider. You can checkout an abstract implementation here. Not very useful for Java parameters as the most used jars are compiled without the param names :(