How to detect multi-line comments without closing? #1719
Unanswered
durianwaffle
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Hi, To addon to the comment, attaching examples here Works for these examples
Doesn't work for this
Our current code
These are the rules used for terminal for us
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @durianwaffle, @wa8f7192, you should be able to do something like that:
and move that behind the existing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Langium community,
I am using comment token to check if current cursor is in multi-line comment.
But the problem is if the comment is not closed, it will not have the comment token.
May I know if there are existing services to detect if current cursor location is in multi-line comment?
Beta Was this translation helpful? Give feedback.
All reactions