-
-
Notifications
You must be signed in to change notification settings - Fork 778
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
vscode extension is over hinting, including variable #3278
Labels
Comments
This is a problem that I see as well. I don't know why Uno does this. |
This is how UnoCSS works by scanning for occurrence. I initially designed VS Code extension that way it's more consistent with the runtime behavior, but yeah I agree this can be annoying at some point. I think we could treat VS Code a bit, especially by only highlighting a certain context. |
hyoban
added a commit
to hyoban/tailwindcss-classname-highlight
that referenced
this issue
Feb 15, 2024
3 tasks
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
UnoCSS version
not applicable, latest Unocss vscode extension v0.57.1
Describe the bug
The latest unocss vscode is running correctly, but it over hinting, cause confusion on reading regular variable, shouldn't it check string only?.
For the typescript, it's very tricky since it's a valid
string
, so I can't tell it's the intention, fixable or not, but I will leave it here as reference.Reproduction
install the unocss vscode extension and use the example code from screenshot.
System Info
Windows 10
Validations
The text was updated successfully, but these errors were encountered: