Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Inlay Hints #701

Closed
mliszcz opened this issue Sep 18, 2023 · 1 comment · Fixed by #702
Closed

Support for Inlay Hints #701

mliszcz opened this issue Sep 18, 2023 · 1 comment · Fixed by #702

Comments

@mliszcz
Copy link
Contributor

mliszcz commented Sep 18, 2023

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.

@5nord
Copy link
Member

5nord commented Sep 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants