You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- a `tailwind.config.js` file to be [present in your project folder](https://github.com/bradlc/vscode-tailwindcss/blob/master/package.json#L38). You can create it with `npx tailwind init`.
13
-
-`tailwindcss` to be installed (present in project `node_modules/`)
5
+
In order for the extension to activate you must have [`tailwindcss` installed](https://tailwindcss.com/docs/installation/#1-install-tailwind-via-npm) and a [Tailwind config file](https://tailwindcss.com/docs/installation/#3-create-your-tailwind-config-file-optional) named `tailwind.config.js` or `tailwind.js` in your workspace.
14
6
15
7
## Features
16
8
17
-
Tailwind CSS IntelliSense uses your projects Tailwind installation and configuration to provide suggestions as you type.
18
-
19
-
It also includes features that improve the overall Tailwind experience, including improved syntax highlighting, and CSS previews.
20
-
21
-
### HTML (including Vue, JSX, PHP etc.)
22
-
23
-
-[Class name suggestions, including support for Emmet syntax](#class-name-suggestions-including-support-for-emmet-syntax)
24
-
- Suggestions include color previews where applicable, for example for text and background colors
25
-
- They also include a preview of the actual CSS for that class name
26
-
-[CSS preview when hovering over class names](#css-preview-when-hovering-over-class-names)
27
-
28
-
### CSS
29
-
30
-
-[Suggestions when using `@apply` and config helpers](#suggestions-when-using-apply-and-config)
31
-
- Suggestions when using the `@screen` directive
32
-
- Suggestions when using the `@variants` directive
33
-
-[Improves syntax highlighting when using `@apply` and config helpers](#improves-syntax-highlighting-when-using-apply-and-config-helpers)
34
-
35
-
## Examples
9
+
-**Autocomplete**
10
+
Intelligent suggestions for class names, [CSS directives](https://tailwindcss.com/docs/functions-and-directives/), and the [`theme` helper](https://tailwindcss.com/docs/functions-and-directives/#theme)
36
11
37
-
#### Class name suggestions, including support for Emmet syntax
12
+
-**Hover Preview**
13
+
See the complete CSS for a Tailwind class name by hovering over it
0 commit comments