Tailwind PrefixA VS Code extension to correctly prefix Tailwind CSS utility classes.
🚀 How to useAdd Prefix to Tailwind Classes✅ Open File: Open the JS, JSX, TS, or TSX file containing the Tailwind classes. ✅ Run Command: Open the VS Code Command Palette (Ctrl/Cmd + Shift + P). ✅ Execute: Type and select "Tailwind Prefix: Add Prefix to tailwind classes". ✅ Enter Prefix: Enter your desired prefix (e.g., ts-, app-) and press Enter. Rename Existing Prefix✅ Open File: Open the JS, JSX, TS, or TSX file containing prefixed Tailwind classes. ✅ Run Command: Open the VS Code Command Palette (Ctrl/Cmd + Shift + P). ✅ Execute: Type and select "Tailwind Prefix: Rename Existing Prefix". ✅ Enter Old Prefix: Enter the current prefix you want to replace (e.g., ts-). ✅ Enter New Prefix: Enter the new prefix you want to use (e.g., tw-). Leave empty to remove the prefix entirely. Features
LicenseThis project is licensed under the MIT License. 💖 SupportIf you find Tailwind Prefix helpful and would like to support continued maintenance and development, consider buying me a coffee. Your contributions help pay for ongoing improvements and prioritization of new features. |
