Docstrings for Functions in the Grammar #2060
Answered
by
msujew
Lemour-sudo
asked this question in
Q&A
-
|
Is there a way to define something similar to docstrings in the Langium grammar? |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Oct 30, 2025
Replies: 1 comment
-
|
Hey @Lemour-sudo, The default hover provider picks up on JSDoc comments above the respective element automatically: /** This is some JSDoc */
function test() {}See also here. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Lemour-sudo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @Lemour-sudo,
The default hover provider picks up on JSDoc comments above the respective element automatically:
See also here.