Skip to content

Commit da5bf43

Browse files
committed
update readme
1 parent f9865fb commit da5bf43

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

packages/tailwindcss-intellisense/README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,23 @@ See the complete CSS for a Tailwind class name by hovering over it.
3232

3333
Provides syntax definitions so that Tailwind features are highlighted correctly.
3434

35-
## Settings
35+
## Recommended VS Code Settings
36+
37+
VS Code has built-it CSS validation which may display errors when using Tailwind-specific syntax, such as `@apply`. You can disable this with the `css.validate` setting:
38+
39+
```
40+
"css.validate": false
41+
```
42+
43+
By default VS Code will not trigger completions when editing "string" content, for example within HTML attribute values. Updating the `editor.quickSuggestions` setting may improve your experience, particularly when editing Tailwind classes in HTML files:
44+
45+
```
46+
"editor.quickSuggestions": {
47+
"strings": true
48+
}
49+
```
50+
51+
## Extension Settings
3652

3753
### `tailwindCSS.includeLanguages`
3854

0 commit comments

Comments
 (0)