You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
People, could you please refrain from posting +1-comments? This puts unnecessary stress on the maintainers. They will take care of this, even without additional noise from the "community".
They actually also took care of creating this amazing free and open source editor everyone of you is using 😄
A more constructive way to communicate your interest in a feature is to add a 👍 emoji to the original post.
Thank you! 🙏
Reacted by VVS, Danila, Mikołaj Dunikowski, James Robson, SelfMadeSystem, David Fong, starball, Yo Iwamoto, Josneth Moreno, Kaen Pawanachai and 32 more
Reacted by RJ
Reacted by Danila, Mikołaj Dunikowski, James Robson, SelfMadeSystem, VVS, Rasmus Söderhielm, Gabriel-ISS, Aaron King, Rijk van Zanten, Reed Piernock and 2 more
+ Container properties no longer show as errors
+ Hovering over the properties shows the MDN reference
+ Container query units are display correctly
- Still shows errors for container rules (and incorrect syntax highlighting for the name and params)
- Still no Intellisense in containers (syntax highlighting works but you can't even hover)
Commit #193333 officially adds container, container-name, and container-type support. There are still some complications with the addition of @container, though.
Reacted by Edgar Rodriguez, vijay-ietf and Reed Piernock
Verify that @container rules parse without validation errors. Search the web for some examples.
Also verify that there's code completion support and color decorators for statements inside rules
Verify that you can use length usints: cqw, cqh, cqi, cqb, cqmin, cqmax
Hi there! My apologies for commenting on a closed issue. Please let me know if this issue belongs elsewhere or if I should create an issue in another repository. It seems like this problem still persists in SCSS (not CSS), as you can see in the following screenshot:
As you can see from the screenshot above, I'm trying to use cqw in order to implement a text whose font size could fill the parent container. If you take a look at below screenshot, the CSS version is fine.
Is this a known issue? Thank you very much for your help!
For additional information, I'm using the latest version of VSCode and MacOS as the development machine.
Activity
[-]Support CSS property `container-type`[/-][+][css] Support CSS property `container-type`[/+]rdennis commentedon Feb 10, 2023
The features needed for container queries are:
properties
containershorthandcontainer-namecontainer-typeat-rule
@containerlength units
cqwcqhcqicqbcqmincqmaxnatirivero commentedon Mar 14, 2023
+1
tummalasujith commentedon Mar 16, 2023
+1
titisouven commentedon Mar 22, 2023
+1
Also other missing properties like x, y and rx (used with svg tag)
matteorchard commentedon Apr 6, 2023
+1, lots of support already
MichalNovotnyCZ commentedon Apr 13, 2023
+1
swashbuck commentedon Apr 13, 2023
+1
SelfMadeSystem commentedon Apr 14, 2023
+1.0000000000000002
bandarupk commentedon Apr 14, 2023
When you will release update on this?
hirasso commentedon Apr 20, 2023
People, could you please refrain from posting
+1-comments? This puts unnecessary stress on the maintainers. They will take care of this, even without additional noise from the "community".They actually also took care of creating this amazing free and open source editor everyone of you is using 😄
A more constructive way to communicate your interest in a feature is to add a 👍 emoji to the original post.
Thank you! 🙏
11 remaining items
coolCucumber-cat commentedon Sep 15, 2023
+ Container properties no longer show as errors
+ Hovering over the properties shows the MDN reference
+ Container query units are display correctly
- Still shows errors for container rules (and incorrect syntax highlighting for the name and params)
- Still no Intellisense in containers (syntax highlighting works but you can't even hover)
FifthTundraG commentedon Sep 18, 2023
Commit #193333 officially adds
container,container-name, andcontainer-typesupport. There are still some complications with the addition of@container, though.aeschli commentedon Oct 11, 2023
Parsing support for
@containergot added by microsoft/vscode-css-languageservice#365aeschli commentedon Oct 23, 2023
Verify that
@containerrules parse without validation errors. Search the web for some examples.Also verify that there's code completion support and color decorators for statements inside rules
Verify that you can use length usints:
cqw,cqh,cqi,cqb,cqmin,cqmaxlauslim12 commentedon Nov 4, 2023
Hi there! My apologies for commenting on a closed issue. Please let me know if this issue belongs elsewhere or if I should create an issue in another repository. It seems like this problem still persists in SCSS (not CSS), as you can see in the following screenshot:
As you can see from the screenshot above, I'm trying to use
cqwin order to implement a text whose font size could fill the parent container. If you take a look at below screenshot, the CSS version is fine.Is this a known issue? Thank you very much for your help!
For additional information, I'm using the latest version of VSCode and MacOS as the development machine.
dalmolinz commentedon Nov 6, 2023
Still a problem in 1.84.0 (scss)


starball5 commentedon Nov 6, 2023
Is there an issue ticket yet for adding support to SASS/SCSS? Or should one be created?
If anyone creates one, please ping me there with
@starball5.aeschli commentedon Nov 7, 2023
Please open a new issue with the sample code to reproduce.
lauslim12 commentedon Nov 8, 2023
I created an issue here: #197744. Thank you for looking into it!