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
Format styled.div(({theme}) => ...
#194
Comments
Not ideal, but you can do this as a workaround:
|
Thanks! But that's not great... |
Bump, this would be nice to work w/out importing the +1 to making it supported w/out it though! |
I'm willing to look into this but I need some help as I never contributed here before. |
Thanks @a7madgamal there’s a contribution guide here https://github.com/styled-components/vscode-styled-components/blob/master/CONTRIBUTING.md (just focus on the adding syntax bit) For this issue maybe try the syntax in the second block from the op and see if the syntax highlighting looks right |
I gave it a try now, my head hurt but I kinda get whats happening here :D |
There’s links to websites in the contributing guide @a7madgamal |
People often write this kind of code:
But, there is an underrated way of writing this code, that makes it much clearer:
However, the VSCode plugin doesn't style the latter. Would it be possible to style it?
The text was updated successfully, but these errors were encountered: