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
{{ message }}
Repository navigation
Property autocomplete + syntax highlighting does not trigger inside custom directive blocks #423
If you add a new directive to CSS custom data, autocomplete + syntax highlighting does not work within blocks defined by the directive. Mixins are one example where this would be useful:
I have also just bumped into this whilst using LightningCSS custom transforms. The unknown at-rules warning is gone however so has the syntax highlighting and auto-complete.
When I wrap the contents in a div, the syntax highlighting returns, however the auto-complete does not. It would be awesome to have an option to say treat this like a div?
Additionally, the @view-transition at-rule does also not have syntax highlighting as of yet so I wonder if there is a current limitation which needs to be addressed beforehand. There is a pre-existing issue.
Activity
jackholden commentedon Mar 19, 2026
+1
I have also just bumped into this whilst using LightningCSS custom transforms. The unknown at-rules warning is gone however so has the syntax highlighting and auto-complete.
When I wrap the contents in a div, the syntax highlighting returns, however the auto-complete does not. It would be awesome to have an option to say treat this like a div?
Additionally, the
@view-transitionat-rule does also not have syntax highlighting as of yet so I wonder if there is a current limitation which needs to be addressed beforehand. There is a pre-existing issue.