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

Webstorm 2020.3 - not working #97

Closed PLSFIX closed 3 years ago

PLSFIX commented 3 years ago

Problem description:

Plugin doesn't work on latest Webstorm at all.

Screenshot at Mar 11 21-31-15
prigara commented 3 years ago

Hello @PLSFIX, sorry, I can't reproduce the problem in the .tsx file in WebStorm 2020.3.2. Does the problem occur in all projects or only in this specific project? Could you please share the IDE logs (menu Help - Collect logs) and a sample project?

PLSFIX commented 3 years ago

Hello, @prigara. I've tested it on another clean project with the same result. test-styled.zip - example project (basically, linaria & 2 files) webstorm-logs-20210312-210653.zip - logs

comparing with VSCode:

Screenshot at Mar 12 21-06-19
PLSFIX commented 3 years ago

Update: it works on Windows Screenshot_2

vladsholokhov commented 3 years ago

Hello! @PLSFIX I found the following line in your logs:

  The Styled Components & Styled JSX (id=com.deadlock.scsyntax, 
path=/Applications/WebStorm.app/Contents/plugins/styled-components) 
plugin Requires plugin 'org.jetbrains.plugins.less' to be enabled.

Does the problem still exist if you enable Less plugin?

PLSFIX commented 3 years ago

Hello @vladsholokhov Yes, currently LESS plugin is active but the situation is still the same.

PLSFIX commented 3 years ago

Problem has been fixed with the last IDE update WebStorm 2020.3.3 Build #WS-203.7717.59, built on March 15, 2021

vladsholokhov commented 3 years ago

@PLSFIX Unfortunately I had no luck reproducing the issue. Thanks for the update!