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
As you can see, the suggestions for the second class, for example, works:
But the first and last one of the first string, does not:
The strings with single classes in them also don't work.
The magic trick
If I add a space to the start and the end of each string, it magically works:
It would be awesome if this problem could be fixed. Personally, I also don't mind the warnings, since I defined that everything inside cls(...) should be one group.
I have the same problem, though using my custom classRegex ["tw[^`]*`?", "tw`([^`]*)?"] and tw as string template literal that simply split the string classes into array.
Autocomplete works when pressing space but not enters. Please, advise.
Hi
I am desperately trying to make the intellisense work with multi-line strings using the class regex setting.
Goal
I want to have all the strings in here "stringed together" in one class attribute context:
The problem
Using the regex
it only partially works.
As you can see, the suggestions for the second class, for example, works:

But the first and last one of the first string, does not:

The strings with single classes in them also don't work.
The magic trick
If I add a space to the start and the end of each string, it magically works:
It would be awesome if this problem could be fixed. Personally, I also don't mind the warnings, since I defined that everything inside
cls(...)
should be one group.This may fix some problems other people are having coming from tailwindlabs/tailwindcss#7553.
The text was updated successfully, but these errors were encountered: