Skip to content
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

Any way for this package to support styled-components css rules? #50

Open
flppv opened this issue Sep 27, 2022 · 2 comments
Open

Any way for this package to support styled-components css rules? #50

flppv opened this issue Sep 27, 2022 · 2 comments

Comments

@flppv
Copy link

flppv commented Sep 27, 2022

I installed and configured this package, it works fine in css files, however it doesn't complete css rules as expected in styled-components (however, it attaches typescriptreact files thus I assumed it should?).

Attaching 2 examples of completion in .css and .tsx file:

image

image

@caldwell-63
Copy link

caldwell-63 commented Feb 13, 2023

I made a fork just for this: https://github.com/caldwell-63/emmet-language-server

Just install with npm install -g emmet-language-server and change the cmd in lspconfig as in readme

CSS abbreviations will work in .ts and not .tsx, to separate HTML and CSS abbreviations (put your styled components in .ts files, it's good practice anyway)

@gegoune
Copy link

gegoune commented Feb 13, 2023

That's not really a fork, is it? PR to this repo would be a better option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants