From 8400e1b9218e4a8b68475748f2f06ee6851002db Mon Sep 17 00:00:00 2001 From: Alec WM Date: Sat, 26 Aug 2023 18:34:19 +1000 Subject: [PATCH] fix: add `.*ClassName` to `tailwindCSS.classAttributes` in project vscode settings (#1039) --- .vscode/settings.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 1b628c021a..2c9b775cff 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,8 +1,15 @@ { + "githubPullRequests.ignoredPullRequestBranches": ["dev"], + + // shows tailwind intellisense for attributes like `contentClassName`, `innerClassName`, `bodyClassName`, etc + "tailwindCSS.classAttributes": [ + "class", // default value + "className", // default value + "ngClass", // default value + ".*ClassName" // NEW value (added by us) + ], + // defaults to 1rem=16px, but we use 1rem=10px in the extension // this setting will provide accurate intellisense values - "tailwindCSS.rootFontSize": 10, - "githubPullRequests.ignoredPullRequestBranches": [ - "dev" - ] + "tailwindCSS.rootFontSize": 10 }