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

Commenting JSX code is broken #16922

Closed
1 task done
bmamouri opened this issue Aug 26, 2024 · 1 comment
Closed
1 task done

Commenting JSX code is broken #16922

bmamouri opened this issue Aug 26, 2024 · 1 comment
Labels
duplicate Additional reports of an existing issue

Comments

@bmamouri
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

When performing "Toggle Line Comment" action on a JSX block of code, the // is used. But commenting a React block should be done using {/* ... */} syntax.

image

Environment

Zed: v0.150.3 (Zed Preview)
OS: macOS 14.6.1
Memory: 16 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log
@bmamouri bmamouri added admin read bug [core label] labels Aug 26, 2024
@SomeoneToIgnore
Copy link
Contributor

SomeoneToIgnore commented Aug 27, 2024

@SomeoneToIgnore SomeoneToIgnore marked this as a duplicate of #5291 Aug 27, 2024
@SomeoneToIgnore SomeoneToIgnore closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2024
@notpeter notpeter added duplicate Additional reports of an existing issue and removed bug [core label] triage labels Aug 27, 2024
@github-staff github-staff deleted a comment from Lxx-c Oct 23, 2024
@github-staff github-staff deleted a comment from Lxx-c Oct 23, 2024
@github-staff github-staff deleted a comment from Lxx-c Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Additional reports of an existing issue
Projects
None yet
Development

No branches or pull requests

6 participants
@notpeter @SomeoneToIgnore @bmamouri and others