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

Nested multiline comments mess up syntax highlighting #3546

Closed
DanTup opened this issue Aug 31, 2021 · 1 comment
Closed

Nested multiline comments mess up syntax highlighting #3546

DanTup opened this issue Aug 31, 2021 · 1 comment
Labels
in editor Relates to code editing or language features is bug
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Aug 31, 2021

See "const" on line 47. Line 41 is also wrong with the textmate grammar, but semantic tokens fixes it (I'm not sure why it doesn't also fix const).

Screenshot 2021-08-31 at 11 56 50

@DanTup DanTup added is bug in editor Relates to code editing or language features labels Aug 31, 2021
@DanTup DanTup added this to the v3.27.0 milestone Aug 31, 2021
@DanTup
Copy link
Member Author

DanTup commented Sep 8, 2021

Small repro:

/**
 *   /**
 *    * bbb
 *    */
 */
String foo = 'test';

Seems to only occur when there are exactly 4 spaces before the nested closing comment - it doesn't seem to end the scope.

Screenshot 2021-09-08 at 14 04 27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in editor Relates to code editing or language features is bug
Projects
None yet
Development

No branches or pull requests

1 participant