Skip to content

Use Tailwind IntelliSense for CSS files in Zed#2001

Merged
kmcginnes merged 1 commit into
mainfrom
zed-tailwind-css
Jul 24, 2026
Merged

Use Tailwind IntelliSense for CSS files in Zed#2001
kmcginnes merged 1 commit into
mainfrom
zed-tailwind-css

Conversation

@kmcginnes

Copy link
Copy Markdown
Collaborator

Description

Configures Zed to use the Tailwind IntelliSense language server for CSS files (and disables the default VS Code CSS language server for them). Without this, Zed's CSS server flags Tailwind v4 at-rules (@theme, @utility, @custom-variant) in index.css as unknown. Editor-only config; no runtime or build impact.

Validation

  • Tailwind v4 at-rules in packages/graph-explorer/src/index.css no longer report as errors in Zed; class completions work in CSS.

Check List

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I have verified pnpm checks passes with no errors.
  • I have verified pnpm test passes with no failures.
  • I have covered new added functionality with unit tests if necessary.
  • I have updated documentation if necessary.

Route CSS to tailwindcss-intellisense-css and disable the default VS Code CSS
language server, so Tailwind v4 CSS features (@theme, @Utility, @custom-variant)
are understood instead of flagged as unknown at-rules.
@kmcginnes
kmcginnes marked this pull request as ready for review July 24, 2026 17:27
@kmcginnes
kmcginnes merged commit eaaa123 into main Jul 24, 2026
5 checks passed
@kmcginnes
kmcginnes deleted the zed-tailwind-css branch July 24, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant