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
The quickest way for IntelliSense to support the "variant-style" prefix was to treat it as a fake variant and make some tweaks to how and what completions we show. This has an unfortunate side effect of requiring a "double action" whenever typing new classes. We should instead, when no class has been typed yet:
Offer the prefix as a fake variant like we do today
Show variants like normal but prefix them with the fake variant so they'll look like tw:md: in the suggestions
Show classes like normal but prefix them with the fake variant so they'll look like tw:underline in the suggestions
None of this need apply if the variant is already typed nor if the user has typed a class name that does not begin with the variant-style prefix.
The text was updated successfully, but these errors were encountered:
The quickest way for IntelliSense to support the "variant-style" prefix was to treat it as a fake variant and make some tweaks to how and what completions we show. This has an unfortunate side effect of requiring a "double action" whenever typing new classes. We should instead, when no class has been typed yet:
tw:md:
in the suggestionstw:underline
in the suggestionsNone of this need apply if the variant is already typed nor if the user has typed a class name that does not begin with the variant-style prefix.
The text was updated successfully, but these errors were encountered: