Skip to content

Instantly share code, notes, and snippets.

@trkaplan
Created February 14, 2021 10:13
Show Gist options
  • Save trkaplan/54996461ffa31ca7d7dd7dcbfe2241e3 to your computer and use it in GitHub Desktop.
Save trkaplan/54996461ffa31ca7d7dd7dcbfe2241e3 to your computer and use it in GitHub Desktop.
VS Code Settings for Tailwind CSS IntelliSense Extension - autocomplete, syntax highlighting, and linting (tailwind.macro, twin.macro)
{
"editor.quickSuggestions": true,
"tailwindCSS.experimental.classRegex": ["tw`([^`]*)", "tw=\"([^\"]*)", "tw={\"([^\"}]*)", "tw\\.\\w+`([^`]*)", "tw\\(.*?\\)`([^`]*)"],
"tailwindCSS.includeLanguages": {
"typescript": "javascript",
"typescriptreact": "javascript"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment