Skip to content

Commit 42e9f13

Browse files
adamwathanpetersuhmdanhollick
authored
Add Cursor to editor setup page (#2414)
Co-authored-by: Peter Suhm <peter@suhm.dk> Co-authored-by: Dan Hollick <dan.hollick@gmail.com>
1 parent 300587e commit 42e9f13

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

src/docs/editor-setup.mdx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@ If you're using VS Code, our official [Tailwind CSS IntelliSense](https://market
1616

1717
In some cases, you may need to disable native CSS linting/validations if your editor is very strict about the syntax it expects in your CSS files.
1818

19+
## Cursor
20+
21+
[Cursor](https://cursor.com/?utm_source=tailwind) is an AI-native code editor with features like context-aware autocomplete and built-in coding agents. Since it supports VS Code extensions, all of the Tailwind CSS tooling you're already familiar with works out of the box – including our official [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) extension and the [Prettier plugin](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) for class sorting.
22+
23+
<img
24+
src={require("./img/cursor-intellisense.png").default.src}
25+
alt="Tailwind CSS IntelliSense extension for Cursor"
26+
width={1344}
27+
height={672}
28+
className="rounded-lg"
29+
/>
30+
31+
Check out and download [Cursor](https://cursor.com/?utm_source=tailwind).
32+
1933
## Zed
2034

2135
[Zed](https://zed.dev/?utm_source=tailwind) is a fast, modern code editor, designed from the ground-up for cutting-edge development workflows, including agentic editing with AI. It has built-in support for Tailwind CSS autocompletions, linting, and hover previews, without the need to install and configure a separate extension. It also integrates tightly with Prettier, so our official [Prettier plugin](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) works seamlessly with Zed when installed.
@@ -55,7 +69,7 @@ We maintain an official [Prettier plugin](https://github.com/tailwindlabs/pretti
5569

5670
<img src={require("./img/prettier-banner.jpg").default.src} alt="" width={2400} height={819} className="rounded-lg" />
5771

58-
It works seamlessly with custom Tailwind configurations, and because it’s just a Prettier plugin, it works anywhere Prettier worksincluding every popular editor and IDE, and of course on the command line.
72+
It works seamlessly with custom Tailwind configurations, and because it’s just a Prettier plugin, it works anywhere Prettier worksincluding every popular editor and IDE, and of course on the command line.
5973

6074
{/* prettier-ignore */}
6175
```html
541 KB
Loading

0 commit comments

Comments
 (0)