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 tsx/jsx with ctrl-/ not working properly #16390

Closed
1 task done
khalil-cheddadi opened this issue Aug 16, 2024 · 2 comments
Closed
1 task done

commenting tsx/jsx with ctrl-/ not working properly #16390

khalil-cheddadi opened this issue Aug 16, 2024 · 2 comments
Labels
duplicate Additional reports of an existing issue

Comments

@khalil-cheddadi
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

in a jsx/tsx file, when commenting the render part , it only adds // to the start of the line which is normal behavior for a js file but this results errors in the case of tsx render method return, which should be {/*[LINE]*/} instead

Environment

Zed: v0.148.1 (Zed)
OS: Linux Wayland ubuntu 24.04
Memory: 7.5 GiB
Architecture: x86_64
GPU: Intel(R) UHD Graphics (ICL GT1) || Intel open-source Mesa driver || Mesa 24.0.9-0ubuntu0.1

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

Screenshot from 2024-08-17 00-15-46

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

No response

@0xd8d
Copy link

0xd8d commented Aug 17, 2024

This is very annoying and I hope they prioritize fixing it. Typing out comments manually in jsx/tsx is so cumbersome.

@SomeoneToIgnore
Copy link
Contributor

Looks like a duplicate of #16337 so I'll close this one.

Anybody is welcome to prioritize and work on tree-sitter/tree-sitter-typescript#306 to fix this.

@SomeoneToIgnore SomeoneToIgnore closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2024
@Moshyfawn Moshyfawn added duplicate Additional reports of an existing issue and removed bug [core label] triage labels Aug 17, 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

5 participants