-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Please improve the auto-completion of DOM tags in React. #4271
Comments
@path-of-reason This really helps a lot, rewriting tags all the time is tiring |
@JosephTLyons This is a feature that brings a totally different experience to the developer, let's look more at the experience to build a cutting-edge product |
I agree, this is the only issue that stop me from using this IDE. Might implement it myself, if it's not the priority. |
Coming from #5267, the tag auto-close doesn’t seem to work for HTML either. |
Which version of Zed are you on? Do you have the HTML extension installed? |
I just tested on the latest preview 0.138.1, and the problem still persists. And I do have the HTML extension installed as well. Screen.Recording.2024-05-30.at.1.06.01.PM.mov |
It's after you complete the tag with |
Ah, my bad, I'm actually showing the wrong demo here. But yeah, but yeah, it's working in the latest 0.138 now😅 |
This keeps me from switching to Zed! Also shortcuts for code snippets such as |
I don't know, there is always something basic that keeps me from switching to zed |
This and no snippets support are the main reason I have not switched to Zed fully typing rfc and getting a react component scaffolded for you is way to good to pass up on |
For what it's worth, we've recently landed support for snippets in #13253 |
@osiewicz Hi, i did see the update on snippet support and already tried it out, how ever, i noticed that the formatting is seemingly bugged. when the snipper is expanded it does not appear as it should..see screenshots bellow |
Do you mean that |
Yes, that |
Any way to fix that? @osiewicz |
No, I'm sorry, I haven't looked into it yet. A wild guess is that formatting gets applied to completions automatically, which may not be desired for snippets. If so, we should add a way for a language server to opt out of automatic formatting |
Any movement on this? I'm on Zed 0.143.7, with the extension and tags aren't closing. Screen.Recording.2024-07-14.at.12.24.50.PM.mov |
Check for existing issues
Describe the feature
Currently, when I type "div" in a tsx or jsx file, there is no IntelliSense support.
Suggestions only work after I type the angle bracket '<', and I still have to close the tag manually, which is inconvenient.
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: