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
I've been searching for some time for a way to sort class names within a Twig object for use later on in my template, like in the below, simplified example:
I've come across a couple of other, similar discussions, which touch on using a similar approach as the VSCode Intellisense plugin but are ultimately pointed in other directions, but nothing that addresses my situation above.
I understand the reasons for not implementing a blanket regex for this sort of thing, but if nothing similar can be implemented, can someone suggest a workaround for Twig (and other, similar) templates like this that can't (as far as I can tell) utilize the tailwindFunctions option?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I've been searching for some time for a way to sort class names within a Twig object for use later on in my template, like in the below, simplified example:
I've come across a couple of other, similar discussions, which touch on using a similar approach as the VSCode Intellisense plugin but are ultimately pointed in other directions, but nothing that addresses my situation above.
I understand the reasons for not implementing a blanket regex for this sort of thing, but if nothing similar can be implemented, can someone suggest a workaround for Twig (and other, similar) templates like this that can't (as far as I can tell) utilize the
tailwindFunctions
option?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions