diff --git a/packages/tailwindcss-intellisense/README.md b/packages/tailwindcss-intellisense/README.md index 075e996..befa11d 100644 --- a/packages/tailwindcss-intellisense/README.md +++ b/packages/tailwindcss-intellisense/README.md @@ -32,7 +32,23 @@ See the complete CSS for a Tailwind class name by hovering over it. Provides syntax definitions so that Tailwind features are highlighted correctly. -## Settings +## Recommended VS Code Settings + +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: + +``` +"css.validate": false +``` + +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: + +``` +"editor.quickSuggestions": { + "strings": true +} +``` + +## Extension Settings ### `tailwindCSS.includeLanguages`