zed icon indicating copy to clipboard operation
zed copied to clipboard

TSX comment stopped working in html tags

Open Tsolmonx opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

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

Tsolmonx avatar Aug 16 '24 05:08 Tsolmonx

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.

SomeoneToIgnore avatar Aug 16 '24 10:08 SomeoneToIgnore

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

mrvfino avatar Aug 19 '24 04:08 mrvfino

any update?

m1guer avatar Aug 27 '24 20:08 m1guer

+1 need a fix for this 🙏

animify avatar Sep 15 '24 08:09 animify

I think it has been fixed in latest version. I tested it and it's working fine.

Edgarfp avatar Oct 23 '24 18:10 Edgarfp

Closed from: https://github.com/zed-industries/zed/pull/17734

mikayla-maki avatar Oct 28 '24 21:10 mikayla-maki