-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Works in css files but not in tsx #3
Comments
Hi! Thanks for your support and opening this issue. 🙏🏾 Can you share me a repro for your problem, or give some details on what vscode settings you have, and is the location of your To support {
"cssvar.extensions": ["css", "scss", "typescript", "typescriptreact"],
} If you are using |
Hi, thanks for your reply ! Here is the config i'm using : {
"cssvar.files": ["@app/client/assets/vars.css"],
"cssvar.extensions": ["ts", "tsx", "css", "less"]
} I'm using yarn workspaces maybe that's a problem ? I'll try to make a repro ! |
Yeah! Please convert your configs a little bit:
{
"cssvar.files": ["src/client/assets/vars.css"],
"cssvar.extensions": ["typescript", "typescriptreact", "css", "less"]
} Convert Will add a support for short extensions like: |
Hi,
Thanks for your plugin, I'm using styled component and looking for a css var completion.
It's working well in css files but can't manage to make it work in typescript files as announced in your last commit.
Thanks for your help !
The text was updated successfully, but these errors were encountered: