-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add tw config to get the intelliSense #3385
Conversation
|
WalkthroughThe recent changes involve updating the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (1)
- .vscode/settings.json (1 hunks)
Additional comments not posted (2)
.vscode/settings.json (2)
7-10
: Verify the accuracy of the specified paths.Ensure that the paths
"packages/storybook/tailwind.config.js"
,"packages/core/theme/**/*"
,"packages/components/**/*"
, and"apps/docs/tailwind.config.js"
exist in the project structure.Verification successful
Paths verified successfully.
The specified paths
"packages/storybook/tailwind.config.js"
,"packages/core/theme/**/*"
,"packages/components/**/*"
, and"apps/docs/tailwind.config.js"
all exist in the project structure.
- Path exists:
packages/storybook/tailwind.config.js
- Path exists:
packages/core/theme/**/*
- Path exists:
packages/components/**/*
- Path exists:
apps/docs/tailwind.config.js
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the existence of the specified paths in the project structure. # Test: Check if the specified paths exist. Expect: All paths should exist. paths=( "packages/storybook/tailwind.config.js" "packages/core/theme/**/*" "packages/components/**/*" "apps/docs/tailwind.config.js" ) for path in "${paths[@]}"; do if ! fd --type f --glob "$path"; then echo "Path not found: $path" fi doneLength of output: 451
Script:
#!/bin/bash # Description: Verify the existence of the specified paths in the project structure and provide explicit output. # Test: Check if the specified paths exist. Expect: All paths should exist. paths=( "packages/storybook/tailwind.config.js" "packages/core/theme/**/*" "packages/components/**/*" "apps/docs/tailwind.config.js" ) for path in "${paths[@]}"; do if fd --type f --glob "$path" > /dev/null; then echo "Path exists: $path" else echo "Path not found: $path" fi doneLength of output: 825
11-13
: Verify the correctness of the regex patterns.Ensure that the regex patterns
["([\"'
][^\"'`]*.*?[\"'`])", "["']([^\"'
]).?["']"]
correctly match the intended Tailwind CSS class names.Verification successful
The regex patterns for
tailwindCSS.experimental.classRegex
are correctly matching the intended Tailwind CSS class names.
- The patterns
["([\"'
][^\"'`]*.*?[\"'`])", "["']([^\"'
]).?["']"]
have been verified and work as expected.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the correctness of the regex patterns for class name recognition. # Test: Check if the regex patterns match the intended Tailwind CSS class names. Expect: All patterns should correctly match. patterns=( "([\"'`][^\"'`]*.*?[\"'`])" "[\"'`]([^\"'`]*).*?[\"'`]" ) test_strings=( "\"bg-red-500\"" "'text-center'" "`hover:bg-blue-700`" ) for pattern in "${patterns[@]}"; do for test_string in "${test_strings[@]}"; do if [[ ! "$test_string" =~ $pattern ]]; then echo "Pattern not matched: $pattern" fi done doneLength of output: 1330
Script:
#!/bin/bash # Description: Verify the correctness of the regex patterns for class name recognition. # Test: Check if the regex patterns match the intended Tailwind CSS class names. Expect: All patterns should correctly match. patterns=( '(["'"'"'`][^"'"'"'`]*.*?["'"'"'`])' '["'"'"'`]([^"'"'"'`]*).*?["'"'"'`]' ) test_strings=( '"bg-red-500"' "'text-center'" '`hover:bg-blue-700`' ) for pattern in "${patterns[@]}"; do for test_string in "${test_strings[@]}"; do if [[ ! "$test_string" =~ $pattern ]]; then echo "Pattern not matched: $pattern with string: $test_string" fi done doneLength of output: 786
Closes #
📝 Description
After added it can get the intelliSense
Storybook
Theme
Docs
⛳️ Current behavior (updates)
🚀 New behavior
💣 Is this a breaking change (Yes/No):
📝 Additional Information