olrtg / emmet-language-server

A language server for emmet.io
https://www.npmjs.com/package/@olrtg/emmet-language-server
MIT License
266 stars 8 forks source link

Emmet suggestions for components #43

Closed Tauromachian closed 4 weeks ago

Tauromachian commented 1 month ago

First I wanted to thank you for your LS. It's been very useful.

Is there a way in which I can configure the LS is to autocomplete for React or Vue component syntax.

For example, if I type AppCard>div it should be completed to this:

<AppCard>
  <div></div>
</AppCard>

Is this possible?

olrtg commented 1 month ago

Hey @Tauromachian in tsx/jsx files you should get that completion, take a look:

CleanShot 2024-07-26 at 13 42 43@2x

But for Vue you should use only the vue language server (volar). Look at #25.

Hope that helps!

Tauromachian commented 4 weeks ago

@olrtg Thanks for taking the time to answer. Closing this issue.