From da5bf43ba75daa4522a9d0011a04d4baa3953982 Mon Sep 17 00:00:00 2001 From: Brad Cornes Date: Tue, 8 Dec 2020 16:07:34 +0000 Subject: [PATCH] update readme --- packages/tailwindcss-intellisense/README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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`