zed
zed copied to clipboard
JSX/HTML tag auto-close feature
Check for existing issues
- [X] Completed
Is your feature request related to a problem?
It's a bit frustrating to add the close tag at the end of the jsx element or html element. So, having that auto-close tag functionality will definitely help there.
Describe the solution you'd like
Something like the vscode setting for auto-close tag feature. As soon as you type the opening of the tag, the end of the tag comes as well.
If applicable, add mockups / screenshots to help present your vision of the feature
No response
+1 This is something so standard that it's even strange to program it without auto-closing tags
I hope they improve this because it helps a lot with the developer experience
Thanks for u work Zed team !
Astro support was added recently π and would also greatly benefit from auto closing tags
this is the only reason why i didn't 100% switch to zed , when will this come ? or is it already possible yet?
This would also be good in .vue files
We need this please, it makes the developer experience so smooth. It feels weird not having it.
Yes, i agree this is important for anyone doing web development. i'll wait a bit until it's there, or i'll look into fixing it myself.
It would help a lot with productivity, I think itβs very important
is there any progress here? this small feature will make my life so much easier
I'm going to repost what I've already said on Twitter for the sake of transparency:
I get it π― It's definitely on the radar, but right now efforts are focused on APIs that would allow some work to be offloaded to the community to handle some of the use cases via extensions as well as larger feature parity items.
But rest assured, it's not being kicked down the road and will come later, and there's a possibility that someone from the community will pick it up.
This is the main reason I have not switched to Zed fully yet
For some reason, this feature doesn't really work on Zed Preview 0.137.0.
Does not work in jsx/tsx
Does not work in jsx/tsx
Only HTML support has just landed. Be sure to +π this other issue for JSX / TSX support.
- #4271
Should it be working in TSX files?
I think it should for react based files/projects
it's not working on jsx/tsx
Nextjs project app router typescript
it's not working too with blade.php
will be waiting on this ππΎ
Also does not work for .heex files.
It does not work with .vue files