Coc Tailwindcss screenshot

Coc Tailwindcss

Author Avatar Theme by Iamcco
Updated: 19 Aug 2020
336 Stars

tailwindcss class name completion for (neo)vim

Overview

Tailwind CSS IntelliSense is a powerful tool designed to enhance the developer experience when working with Tailwind CSS in a Vim environment. This extension streamlines the process of writing and managing Tailwind classes, making it easier to integrate these styles into various programming languages like HTML, JavaScript, and beyond. With features that provide smart class name suggestions and CSS previews, it empowers developers to work more efficiently and effectively.

On top of IntelliSense, the Headwind extension introduces an opinionated class sorting mechanism that ensures consistent class ordering throughout your codebase. By automatically managing class names, Headwind not only enhances readability but also maintains a clean code structure, catering to both individual files and entire workspaces.

Features

  • Class Name Suggestions: Provides seamless completion of Tailwind CSS class names, enhancing coding speed and accuracy.
  • Color Previews: Displays color previews for classes involving colors, allowing developers to visualize changes as they code.
  • CSS Preview on Hover: Offers a quick preview of the actual CSS associated with class names simply by hovering over them.
  • @apply and @screen Support: Enhances functionality by suggesting correct syntax when using Tailwind’s @apply and @screen directives.
  • Duplicate Class Removal: Automatically identifies and removes duplicate class names, ensuring cleaner code and preventing bloat.
  • Customizable Class Order: Allows users to tailor the sorting order of classes to comply with their specific style preferences.
  • Workspace Sorting: Enables the sorting of Tailwind CSS classes across entire projects, maintaining consistency across all files.
  • Custom Regex Support: Users can define their own regular expressions to capture Tailwind classes, allowing for greater flexibility and customization.