-
Hi, I would like to know if it is possible to collapse multiline comments to one line instead of two lines? this is the code currently we have for comments hidden terminal ML_COMMENT: /(/*[\s\S]?*/)/; |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Sep 23, 2024
Replies: 1 comment 2 replies
-
Hi, did you check if adjusting |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also the
includeLastFoldingLine
method that explicitly controls this behavior:langium/packages/langium/src/lsp/folding-range-provider.ts
Lines 138 to 149 in 335f9a9
@wa8f7192 You can override the class to change the behavior according to your liking.