emmetio / emmet-atom

Emmet support for Atom
MIT License
764 stars 180 forks source link

Emmet snippets don't appear in autocomplete suggestions #282

Open PierBover opened 9 years ago

PierBover commented 9 years ago

Like the title says. I write bgc in a CSS file and the suggestions don't show background-color: #fff;

If I press escape to cancel the suggestions and press tab the snippets do work.

Is there a way around this or the only partial solution is to not use tab with Emmet?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/22063371-emmet-snippets-don-t-appear-in-autocomplete-suggestions?utm_campaign=plugin&utm_content=tracker%2F535900&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F535900&utm_medium=issues&utm_source=github).
bjmiller commented 9 years ago

I think that emmet would need to be a full-fledged autocomplete-plus provider. It's more work than you're probably picturing, but it's still worth doing.

PierBover commented 9 years ago

Snippets show automatically in autocomplete-plus without the need to code a provider. I have made my own snippets and they show up without any extra work.

It makes sense that the HTML features of Emmet are not showing up without a provider, since those are not snippets per se. But the simple CSS snippets like the one I showed above should have no trouble appearing there.