4 VSCode extensions I use when developing with Tailwind
Tags: vscode, tailwindcss, webdev, javascript
Published: 2023-04-06 01:34:41

## TL;DR
All these extensions are available in this VSCode extension pack [TailwindCSS Kit](https://marketplace.visualstudio.com/items?itemName=KalimahApps.tailwindcss-kit)


## 1. [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss)

![tailwind css intellisnse image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4w36g7owmtrmljbesu24.png)


Tailwind CSS IntelliSense is a powerful tool that can help developers to write code faster and more efficiently. The tool provides real-time suggestions for Tailwind CSS classes, reducing errors and improving code quality. By using IntelliSense, developers can increase productivity, reduce the learning curve, and improve the accessibility of their applications. If you are a developer working with Tailwind CSS, be sure to take advantage of this powerful feature.

## 2. [Tailwind Fold](https://marketplace.visualstudio.com/items?itemName=stivo.tailwind-fold)

![tailwind fold extension image](https://github.com/stivoat/tailwind-fold/raw/HEAD/images/docs/demo.gif)


This extension is extremely helpful when working with Tailwind. Long list of classes can clutter the html part and this extension provide a great way of hiding them away and show them only when needed. In addition to the default functionality, the options are well-thought and fit almost any preference. For example, I like the classes to be unfolded when I click on the line not the class itself, and there is an option for that.

I gave the extension 5 stars rating but there is one issue I would like to see improved. I use eslint with [eslint tailwind plugin](https://www.npmjs.com/package/@kalimahapps/eslint-plugin-tailwind) which breaks long classes into multiple lines. The extension does not seem to fold classes that spans over multiple lines.

## 3. [Tailwind Documentation](https://marketplace.visualstudio.com/items?itemName=alfredbirk.tailwind-documentation)


![Tailwind Documentation image](https://user-images.githubusercontent.com/11172530/163716626-8d74a1bb-f05b-4b45-aa12-70f66e0efad8.gif)


The Tailwind Documentation extension provides quick access to the official Tailwind CSS documentation. This extension enables developers to access the Tailwind CSS documentation directly from within the VSCode editor, without having to open a browser or leave the editor.

## 4. [Tailwind Config Viewer](https://marketplace.visualstudio.com/items?itemName=KalimahApps.tailwind-config-viewer)


![Tailwind Config Viewer image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zxwuaxi8v4o9olb4g06d.png)

Tailwind config can be confusing. They might expand exponentially and make it harder for users to know the resolved config. This is why I created this extension. It enables users to view the **resolved** Tailwind config and it will also show the color for any color-related classes (text-\*, bg-\*, accent-\* ... etc)

In future, I am planning to make the classes clickable so when a user clicks on a class it will be inserted in html section.


👥 **Connect**
Twitter: [@kalimahapps](https://twitter.com/kalimahapps)
GitHub: [KalimahApps](https://github.com/kalimahapps)
Website: https://kalimah-apps.com/
CodePen: https://codepen.io/khr2003

## My Other Posts
- [PHPTaqwim: Lint and format PHP using Typescript!](https://dev.to/kalimahapps/phptaqwim-lint-and-format-php-using-typescript-1olb)
- [8 tools to help with CSS](https://dev.to/kalimahapps/8-tools-to-improve-css-design-3lcg)
- [PS4 Controller in Pure CSS](https://dev.to/kalimahapps/ps4-controller-in-css-4g22)
- [iPhone 12 vs Galaxy S21. Glassmorphism design](https://dev.to/kalimahapps/iphone-12-vs-galaxy-s21-glassmorphism-270f)