-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Description
This is a feature proposal for class hinting in other places than class|className.
Attributes
I'd like for custom html attributes to also have the hinting ability, maybe in .vscode/settings.json, there could be something like tailwindcss.attributes.custom: ["tw", "attr"].
One good example for this use case is props in modern JS frameworks, or twin.macro which has the custom tw attribute.
Custom Places
For example, by adding /* @tw */ in above line, it would indicate that the string below is supposed to be hinted, for example:
/* @tw */
const classes = "bg-"Another way would be a shortcut to automatically trigger the hinting.
subhaze, apazzolini, jvitela, lightlii, pupupue and 8 moretxd22081999 and farmerpaul
Metadata
Metadata
Assignees
Labels
No labels