Open pr1ntr opened 6 years ago
@pr1ntr do you know about this configuration feature https://github.com/styled-components/webstorm-styled-components/#configuration? It allows u to set up custom tag function names that will be recognized as CSS and thus highlighted.
I know that's not what you exatcly was asking, just for the case you have encountered a problem and needed any solution.
I discovered this recently. Thanks
I was wondering if its possible to make IntelliJ recognize a styled component interpolator based on the function signature?
something like:
Since it returns css`` and has a signature of (strings, ...interpolation) maybe then the plugin will highlight it as a styled component. I can submit this a feature request too if you have a GitHub
47