From c0bbd0c1139577c1e138e19f0be53efb6f8e95de Mon Sep 17 00:00:00 2001 From: Furkan Kartal Date: Tue, 30 Apr 2024 16:46:55 +0200 Subject: [PATCH 1/2] update docs: add intellisense support section --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 47db98b..c214e7b 100644 --- a/README.md +++ b/README.md @@ -161,3 +161,19 @@ Output: */ ``` + +## Intellisense Support + +### VS Code + +To make Tailwind Intellisense on VS Code recognize tw-to-css, just add the following code to your `settings.json` file: + +```json +{ + // ... + "tailwindCSS.experimental.classRegex": [ + ["twj\\(\\s*[\"'`]([^\"]*)[\"'`]\\s*\\)"] + ] + // ... +} +``` From 00146a18388f32c0cef2cbae664aacd0dc20b7da Mon Sep 17 00:00:00 2001 From: Furkan Kartal Date: Tue, 30 Apr 2024 16:49:23 +0200 Subject: [PATCH 2/2] fix: markdown formatting for intellisense section --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c214e7b..6fd05d5 100644 --- a/README.md +++ b/README.md @@ -169,11 +169,7 @@ Output: To make Tailwind Intellisense on VS Code recognize tw-to-css, just add the following code to your `settings.json` file: ```json -{ - // ... - "tailwindCSS.experimental.classRegex": [ - ["twj\\(\\s*[\"'`]([^\"]*)[\"'`]\\s*\\)"] - ] - // ... -} +"tailwindCSS.experimental.classRegex": [ + ["twj\\(\\s*[\"'`]([^\"]*)[\"'`]\\s*\\)"] +] ```