Writing TailwindCSS classes can be easy but understanding them in a huge codebase can be a heavy “cognitive” task. It makes the HTML code hard to read.
One of the VSCode extension that comes to rescue is Inline Fold. You can click on the three-dot icon to view the CSS Tailwind classes. It can take sometime to get a hang of it but it makes the “prediction” of HTML code pretty efficient. An example of the VSCode extension does is shown below:
Press enter or click to view image in full size
Without Inline Fold VSCode Extention
Press enter or click to view image in full size
With Inline VSCode Extention
There is a VSCode extension that basically does the same and more: Tailwind Fold