zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
46.97k stars 2.7k forks source link

TSX comment stopped working in html tags #16337

Open Tsolmonx opened 1 month ago

Tsolmonx commented 1 month ago

Check for existing issues

Describe the bug / provide steps to reproduce it

When i try to comment the code in tsx html tags it comment with double slash. It used to work before with right comment in html tags now its all //.

Environment

image

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

image

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

Zed.log


SomeoneToIgnore commented 1 month ago

I believe this happens due to https://github.com/tree-sitter/tree-sitter-typescript/issues/306 and the corresponding update to the newer tree-sitter-typescript crate in Zed that we had to do at some point.

mrvfino commented 3 weeks ago

Experiencing this as well, i thought i just broke something in my config. @Tsolmonx , did you find any temporary solution?

m1guer commented 2 weeks ago

any update?

animify commented 11 hours ago

+1 need a fix for this 🙏