Skip to content

Commit b828a06

Browse files
committed
Update readme
1 parent db963f4 commit b828a06

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

packages/vscode-tailwindcss/README.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,24 @@ See the complete CSS for a Tailwind class name by hovering over it.
2828

2929
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/packages/vscode-tailwindcss/.github/hover.png" alt="" />
3030

31-
### CSS Syntax Highlighting
32-
33-
Provides syntax definitions so that Tailwind features are highlighted correctly.
34-
3531
### Tailwind CSS Language Mode
3632

37-
An alternative to VS Code's built-in CSS language mode which maintains full CSS IntelliSense support even when using Tailwind-specific at-rules.
33+
An alternative to VS Code's built-in CSS language mode which maintains full CSS IntelliSense support even when using Tailwind-specific at-rules. Syntax definitions are also provided so that Tailwind-specific syntax is highlighted correctly in all CSS contexts.
3834

3935
## Recommended VS Code Settings
4036

41-
VS Code has built-in CSS validation which may display errors when using Tailwind-specific at-rules, such as `@apply`. You can disable this with the `css.validate` setting:
42-
43-
```
44-
"css.validate": false
45-
```
37+
### `files.associations`
4638

47-
Alternatively, you can configure VS Code to use the provided Tailwind CSS language mode by default for all CSS files:
39+
Use the `files.associations` setting to tell VS Code to always open `.css` files in Tailwind CSS mode:
4840

4941
```
5042
"files.associations": {
5143
"*.css": "tailwindcss"
5244
}
5345
```
5446

47+
### `editor.quickSuggestions`
48+
5549
By default VS Code will not trigger completions when editing "string" content, for example within JSX attribute values. Updating the `editor.quickSuggestions` setting may improve your experience:
5650

5751
```

0 commit comments

Comments
 (0)