This is a VSCode extension that provides intelligent insights for Twind.
Why does the name end with Phoenix? Because it is rising from the ashes, and one day, it will shine as brightly as it once did.
Features
Intelligent suggestions
Clear class information
Color previews
How to Use
After installing the extension, simply configure it as follows.
{
// [Important] Specify the presets used in the project, such as `tailwind`, ...
"twind-intellisense.presets": ["tailwind", "typography"]
// ... see below for additional configurations
}
Configuration
twind-intellisense.enabled: Enable the extension
Type: boolean
Default: true
twind-intellisense.presets: Presets used in the project
Note: If your project uses the tailwind preset, be sure to add it.
tailwind corresponds to @twind/preset-tailwind, and the others follow similarly.
twind-intellisense.configPath: Path to the Twind configuration file
Type: string | undefined
This can be the full path to the configuration file (e.g., <...>/twind.config.js).
or the directory containing the configuration file (e.g., <...>, which will automatically look for twind.config.(js|ts)).
If not specified, the extension will look for the configuration file in the workspace folder (e.g., ${workspaceFolder}/twind.config.(js|ts))
twind-intellisense.colorPreview:
Type: object
Properties:
enabled:
Type: boolean
Default: true
Description: Whether to enable the color preview feature