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? |
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. |
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.