Skip to content

Add support for @container queries by updating the CSS language service - #19

Merged
jasonwilliams merged 1 commit into
styled-components:mainfrom
marvinroger:main
Dec 11, 2023
Merged

jasonwilliams merged 1 commit into
styled-components:mainfrom
marvinroger:main

Conversation

@marvinroger

Copy link
Copy Markdown

Closes #14

This PR updates the CSS language service in order to support @container queries.

C.f. microsoft/vscode-css-languageservice#365 and microsoft/vscode-css-languageservice#371

The PR is ready to be published to npm 😉

I'll make a followup PR to https://github.com/styled-components/vscode-styled-components once published

@jasonwilliams

jasonwilliams commented Dec 11, 2023 •

Copy link
Copy Markdown
Collaborator

Seems good thanks for the contribution, the package lock has a different version to the package.json.
I will test later

@marvinroger

Copy link
Copy Markdown
Author

Thanks @jasonwilliams, just fixed the lockfile

@jasonwilliams

Copy link
Copy Markdown
Collaborator

oh dear, so many tests fail.
Not your fault, they fail even on master, I guess so many things have moved around since this was last built

@jasonwilliams

Copy link
Copy Markdown
Collaborator

Ok, no biggie, the e2e typescript version is just outdated compared to the main plugin typescript version.
Ill merge this and update them both, then figures crossed tests pass again

@jasonwilliams
jasonwilliams merged commit 915ff5a into styled-components:main Dec 11, 2023
@phuctm97

phuctm97 commented Jun 5, 2024

Copy link
Copy Markdown

For some reasons container query still doesn't work 🥹

@kitajchuk

Copy link
Copy Markdown

Also still not working for me as well.

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

Successfully merging this pull request may close these issues.

Support container queries

4 participants