Configure Tailwind 4 code completion in Jetbrains Rider

Learn how you can configure the Tailwind language server used for code completion in Jetbrains Rider

By Jerrie Pelseron January 21, 2026

Jetbrains Rider has code completion for Tailwind 4 which assist you with completing Tailwind utility classes.

This code completion works without requiring any additional configuration most of the time. However, sometimes the Tailwind language server used by the code completion is unable to suggest classes correctly.

I came across this issue while working on some of the code examples for DuneUI.

No suggestions offered by code completion

One of the possible reasons for this is that the language server is unable to discover your Tailwind configuration. You can help the Tailwind language server along by explicitly indicating the location of the CSS file containing your Tailwind configuration.

To do this, navigate to your Tailwind language server settings and locate the experimental section.

The default Tailwind language server settings

You should notice that there is a configFile attribute which is set to null by default. As per the Tailwind language server documentation, you can use this setting to manually specify the CSS entrypoint(s) - i.e. the CSS file(s) that contain your Tailwind configuration.

You can specify a single entry point as follows:

"tailwindCSS.experimental.configFile": "src/styles/app.css"

Or, if your project contains multiple entrypoints, you can specify an object where the key is the path to the CSS entrypoint, and the value is the glob pattern of the files it applies to.

"tailwindCSS.experimental.configFile": {
  "packages/a/src/app.css": "packages/a/src/**",
  "packages/b/src/app.css": "packages/b/src/**"
}

In my case, I updated the configuration as follows:

Updated Tailwind language server settings

This indicates to the Tailwind language server that it should use the Tailwind configuration in the file sandbox/ComponentPlayground/Client/css/site.css for all files located under the directory sandbox/ComponentPlayground/.

With this in place, the code completion is working correctly.

Code completion working after updating the configuration

For more complete documentation on the Tailwind Language Server, you can refer to their online documentation.