Open SilencerWeb opened 5 years ago
Hi @SilencerWeb,
I tried to go at this problem with #20, but sadly the highlighting plugin in IntelliJ / Webstorm only seems to interact with css
directly exported from styled-components(/native)
: (.
So while I'm completely with you, syntax highlighting really would be great, I don't see a way for us to make this possible atm (without rewriting the plugins for the Jetbrains products ; ).
Best,
Tim.
EDIT: Just marked this as invalid cause of this reason.
You can use styled-components plugin and add additional template tag prefixes in plugin settings
Any ideas about how to "teach" Webstorm to highlight syntax correctly inside the media query?
Right now it looks like this:
I know about the hack with adding
css
, but maybe there is something better?