styled-components / webstorm-styled-components

styled-components highlighting support in IntelliJ editors
https://plugins.jetbrains.com/plugin/9997-styled-components
MIT License
375 stars 19 forks source link

Issues with parsing & signs #95

Open dreyks opened 4 years ago

dreyks commented 4 years ago

After upgrading to RubyMine 2020.3 Styled Components plugin now flags errors for a correct piece of code. Specifically if & is involved

Problem description:

image

vepanimas commented 4 years ago

@dreyks hi! This plugin internally depends on the Less plugin, could you please check that it is installed and enabled?

dreyks commented 4 years ago

daaaamn :D you're right, I've just recently disabled the Less plugin. Thanks a lot for your help

I think some other plugins warn you when you're trying to disable their dependency, could this be done for StyledComponents too?

vepanimas commented 4 years ago

@dreyks yep, I'll look into that. In any way thank you for the report!