nokia / ntt

Modern tools for TTCN-3

Home Page:https://nokia.github.io/ntt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Inlay Hints

mliszcz opened this issue · comments

This is a new feature added in LSP 3.17.
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint

Inlay hints allow the editor to display virtual text containing some additional information, for example parameter names:
image

TTCN3 supports named parameters but they are optional, and this feature could nicely complement them.

Is there a plan to implement this in ntt? I played around a bit and got a PoC implementation (just CallExpr/FuncDecl for now), I can send a PR if there is a chance it could be accepted.

This seems to be a very useful feature indeed! I'd love to see your PR 😊