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
Highlighting break using css function into templates #310
Comments
Hi, Same bug here with attrs(). |
Yes please! see the contribution guide. |
@vimaciel you started on this right? :) Just to know if I should dig into this when I have spare time 😅 |
Lost googlers, please check: #208 (comment)
|
Hey @eric-burel whats the reason of using that extension these days? Isn’t jsx/tsx support now baked in? I’ve never needed a plugin for that |
@jasonwilliams this is for styled-jsx precisely, the styling solution embedded in Next.js. They basically add CSS-in-JS within normal |
@eric-burel so I’m assuming if you have styled components extension you’ll never need it? |
Currently, styled JSX is the defautl styling solution of Next and you cannot completely remove it as far as I can tell. I am developing a framework, Vulcan, where we provide also Material UI v5 which relies either on Emotion or Styled Components. So indeed, end users should pick one and only one, but I may not know that in advance (+ it's not obvious that it can cause bug). Is it possible for the plugin to detect other incompatible plugin for instance? It's be pretty awesome to print a clean message in this scenario. |
Yes https://code.visualstudio.com/api/references/vscode-api#extensions what extension ids do you want to avoid clashing? I don’t know which fork/version people are using |
This has been addressed in 2059975 |
@jasonwilliams Sorry for the delay, after opening this issue a high demand came up to me. I'm so sorry. |
Describe the bug (including copyable syntax)
Highlighting doesn't work when uses the
css
function in templatesScreenshot
To Reproduce
Open up the snippet below on
vscode
don't forget to install the vscode-styled-components plugin
Expected behavior
As you can see on the screenshot, css into templates causes this issue.
You have may notice, It doesn't work into the css and every code after that.
Build environment (please complete the following information):
Additional context
Would be a pleasure to work on it if needed.
The text was updated successfully, but these errors were encountered: