zed icon indicating copy to clipboard operation
zed copied to clipboard

Emmet snippets support

Open chloerei opened this issue 2 years ago • 24 comments
trafficstars

Check for existing issues

  • [X] Completed

Describe the feature

Allow use emmet snippets to input html/css.

vscode docs https://code.visualstudio.com/docs/editor/emmet

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

emmet

chloerei avatar Feb 24 '23 12:02 chloerei

@JosephTLyons I'd also really love Emmet extensions support to be added into Zed. Despite the relatively small amount of thumb-ups, this remains a feature I'm really missing a lot in Zed, would add a lot, and shouldn't be too hard to implement? Rooting for Emmet once more! ;-)

josdelien avatar Jul 22 '23 05:07 josdelien

Also hope jsx,tsx

hehehai avatar Aug 08 '23 12:08 hehehai

Would love this! 🙏🏼

admench avatar Nov 17 '23 15:11 admench

+1 for Emmet support in Zed 😍

enstyled avatar Dec 07 '23 19:12 enstyled

+1, this is the only thing holding me back from completely switching to zed

rin-yato avatar Dec 08 '23 14:12 rin-yato

All the thumbs! YES!

wallyfoo avatar Jan 04 '24 20:01 wallyfoo

+1

noozo avatar Jan 19 '24 10:01 noozo

I'm not aware of an existing emmet implementation in rust, I was interested in building one a couple of years ago so I claimed the crate emmet but never got around to it, I think it can be pretty useful to have as a crate so if you're interested in taking ownership of the crate I'm happy to transfer it, I might give it another try myself it sounds fun (although I'm on linux so I can't work on the integration with zed)

bbb651 avatar Jan 26 '24 01:01 bbb651

Love to see emmet support in Zed +1

faisalahammad avatar Jan 29 '24 17:01 faisalahammad

👍

ggarciajr avatar Jan 31 '24 13:01 ggarciajr

agreed, in vscode "wrap with html" is one of my most used commands

ShubhamPatilsd avatar Feb 01 '24 05:02 ShubhamPatilsd

btw, do you plan on adding React snippets?

mandarliev avatar Feb 06 '24 22:02 mandarliev

btw, do you plan on adding React snippets?

Agreed, would be an absolute life saver

nilanjan2002 avatar Feb 10 '24 04:02 nilanjan2002

https://github.com/aca/emmet-ls

d1y avatar Feb 13 '24 08:02 d1y

+1

brunowilliang avatar Feb 14 '24 15:02 brunowilliang

Just a thought: If you are using assistant:InlineAssist GPT can totally expand Emmet style snippets into HTML Screenshot 2024-02-15 at 3 40 47 PM

Screenshot 2024-02-15 at 3 41 02 PM

Obviously, not as nice as having real support for Emmet — snippets, balance, wrap w/ abbreviation, etc. But at least it's something.

BryanSchuetz avatar Feb 15 '24 20:02 BryanSchuetz

I would settle for even an analogue of emmet syntax, I very frequently use basic things like div*5 and div.flex.flex-row.gap-2, it doesn't necessarily need to be a full Emmet snippet implementation to be useful.

https://github.com/helix-editor/helix/issues/1896 may be relevant, similar LSP/rust setup.

endigma avatar Feb 18 '24 01:02 endigma

just started using zed right now and i desperately need this AND to be able to click on a symbol from the html to its definition (angular). Thats really all i need and zed would be perfect for me

jasonc624 avatar Feb 21 '24 22:02 jasonc624

For this editor to be a serious replacement for either vs code or even vim, we need this… full stop.

michaelGregoire avatar Feb 23 '24 01:02 michaelGregoire

this is urgently needed full stop

airamstudio avatar Feb 23 '24 03:02 airamstudio

The significance of the feature is determined by the number of 👍 reactions on the original post, rather than any fabricated urgency comments. Please avoid cluttering threads with generic replies such as "+1" or "urgently needed" in the future. It only makes the issue harder to follow and does not increase its priority in any way.

Moshyfawn avatar Feb 23 '24 03:02 Moshyfawn

The significance of the feature is determined by the number of 👍 reactions on the original post, rather than any fabricated urgency comments. Please avoid cluttering threads with generic replies such as "+1" or "urgently needed" in the future. It only makes the issue harder to follow and does not increase its priority in any way.

New to this, appreciate the feedback! I'll contribute more specific comments in the future. I'd advice you not to dismiss other people's comments as 'fabricated' though... my intention was sincere, no need for passive-aggressiveness 😅

airamstudio avatar Feb 23 '24 04:02 airamstudio

The significance of the feature is determined by the number of 👍 reactions on the original post, rather than any fabricated urgency comments. Please avoid cluttering threads with generic replies such as "+1" or "urgently needed" in the future. It only makes the issue harder to follow and does not increase its priority in any way.

New to this, appreciate the feedback! I'll contribute more specific comments in the future. I'd advice you not to dismiss other people's comments as 'fabricated' though... my intention was sincere, no need for passive-aggressiveness 😅

I'm sorry if my previous message came across as passive-aggressive. My intention was simply to highlight that there is no rush when it comes to incorporating a new IDE into your workflow. It's important to ensure that the tool fits your workflow before committing to using it in production. There's a diverse group of developers trying out Zed, each with their own unique needs. It's important to keep in mind that spamming feature threads can be disruptive to other subscribers who are eagerly waiting for updates too.

Moshyfawn avatar Feb 23 '24 05:02 Moshyfawn

waiting for this

muhrusdi avatar Feb 24 '24 15:02 muhrusdi

The only feature that doesn't allow me to switch to zed. Zed should had emmet from the start.

joyal-jij0 avatar Mar 09 '24 16:03 joyal-jij0

Its happening Hooray! 🎉

nicecraftz avatar Mar 11 '24 18:03 nicecraftz

I think snippets in general should be a thing in Zed, I always switch to Zed then just close it because my speed of coding has been reduced by so much.

Don't care its lacking some LSP features, but snippets for PHP, JS, etc should be a must.

And most important, let the users configure them on a per-language basis

d8vjork avatar Mar 14 '24 09:03 d8vjork

I think snippets in general should be a thing in Zed, I always switch to Zed then just close it because my speed of coding has been reduced by so much.

This is veering off topic, but there's a point to be made for Textmate -> Sublime Text snippet support. Or something of the like. There's plenty of community action out there that would slot right in.

wallyfoo avatar Mar 14 '24 10:03 wallyfoo

I am reluctant to use Zed cause of many features VS code had provided out of the box, like auto close tags, suggestions, and most importantly "EMMET" IntelliSense for all file types, even if it can't be done out of the box, at least we should get an extension that does this... Go Zed

thekiwidev avatar Mar 14 '24 23:03 thekiwidev

Good things are happening : #9910

aecsar avatar Mar 29 '24 10:03 aecsar