https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind CSS class name completion for VS Code
Get it from the VS Code Marketplace →
This extension requires:
tailwind.config.js file to be present in your project folder. You can create it with npx tailwind init.tailwindcss to be installed (present in project node_modules/)Tailwind CSS IntelliSense uses your projects Tailwind installation and configuration to provide suggestions as you type.
It also includes features that improve the overall Tailwind experience, including improved syntax highlighting, and CSS previews.
@apply and config helpers@screen directive@variants directive@apply and config helpers
@apply and config helpers
@apply and config helpersBefore:
After:
tailwindCSS.includeLanguagesThis setting allows you to add additional language support. The key of each entry is the new language ID and the value is any one of the extensions built-in languages, depending on how you want the new language to be treated (e.g. html, css, or javascript):
{
"tailwindCSS.includeLanguages": {
"plaintext": "html"
}
}
tailwindcss.emmetCompletionsEnable completions when using Emmet-style syntax, for example div.bg-red-500.uppercase. Default: false
{
"tailwindCSS.emmetCompletions": true
}