Toggle classes from your markup in PhpStorm and VSCode

David CarrDavid Carr
1 min read

Working with TailwindCSS will result in a lot of classes being added to your HTML. This can at times make it hard to read the markup.

There is a plugin called Tailwind Fold which will allow you to toggle the classes:

Raw HTML with classes

Raw HTML with classes folded

Using Tailwind Fold to hide the classes, the markup becomes a lot easier to read.

Install for PhpStorm or VSCode

0
Subscribe to my newsletter

Read articles from David Carr directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

David Carr
David Carr

Blogger at http://dcblog.dev.