You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was mainly described in #5453, which was closed based on block comments not being supported. However, I think the main issue is that even for single line comments, JSX elements use a different style of comments.
That is, if I want to comment even one single line in JSX/TSX elements, the comment style should be {/* ... */}, and for the rest of the file (simple JS or TS elements) it should be // as it is currently implemented.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
blocks comments are any comments that include text that is not inserted immidietly at the start of the line so this was correctly closed as a duplicate of #1505. JSX and TSX are implemented as injections so this should work automatically as soon as block comment support is available and the comment style is updated in languages.toml.
This feature is being implemented in #4718 which @gabydd plans to finish once he has more time afaik.
This was mainly described in #5453, which was closed based on block comments not being supported. However, I think the main issue is that even for single line comments, JSX elements use a different style of comments.
That is, if I want to comment even one single line in JSX/TSX elements, the comment style should be
{/* ... */}
, and for the rest of the file (simple JS or TS elements) it should be//
as it is currently implemented.Thanks in advance!
The text was updated successfully, but these errors were encountered: