-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Scoping JSX comment brackets #279
Comments
Hmm, I'm not sure I understand what you're asking. Using this notation, what is it you'd like to see?
|
I'd like the entire block
and the entire closing block
|
Hmm, this may fix an issue with uncommenting. I'll circle back to this in #293. |
any news on this? |
This should be fixed in v10.0.0-beta.1. See #379 for more information on the new release. Please report any problems with v10 in a new issue. |
It would be nice if jsx comment could be scoped as comment somehow:
The opening bracket is scoped as:
I am using a custom color for highlight the opening and closing brackets for JSX expressions to make them more visible.
But I would also like to render the two blocks
{/*
and*/}
(and all their contents) with the same colors of all the other comments in js. This is not possible because the the block{/*
*/}
are not scoped. While the inner content{/* CONTENT */}
is correctly scoped as comment.Would it be possible to scope the opening and closing jsx comment brackets? Thansk
The text was updated successfully, but these errors were encountered: