CLion
 
2025.1
Get CLion
Join the CLion Early Access Program and try out new features before they are released! Find out more

Tailwind CSS

Last modified: 11 April 2025

CLion integrates with Tailwind CSS providing Tailwind CSS syntax support, completion for Tailwind CSS class names, as well as CSS functions and directives, preview of the resulting CSS on hover, and Tailwind CSS-specific inspections.

Tailwind CSS support in CLion is backed by the Tailwind CSS Language Server that detects the Tailwind CSS package and, based on the package version, searches for a Tailwind CSS-specific project configuration:

  • With Tailwind CSS 4, the Language Server looks for a CSS file with an @import "tailwindcss" directive.

  • With Tailwind CSS 3, the Language Server looks for a tailwind.config.js file.

CLion is shipped with a bundled Tailwind CSS Language Server. However, it is recommended that you keep the Language Server up to date by downloading the latest server version and specifying the path to it on the Settings | Languages &Frameworks | Style Sheets | Tailwind CSS page as described in Configure the Tailwind CSS Language Server.