Webstorm 2020.03.04 not working properly with react
Hi there,
I have just updated to the newest verison of Webstorm on my Mac running the latest version of macOS.
The issue I am facing is that the syntax highlighting as well as Code checking does not work within functional components of react.
It looks like this:

Is there a way to fix this? Did I do something wrong? The language is set to JSX.
Thank you for your help!
Timbo
Please sign in to leave a comment.
Please try invalidating caches (File > Invalidate caches, Invalidate and Restart) - does the issue persist?
If yes, it must be https://youtrack.jetbrains.com/issue/WEB-36242. Is your project attached to other projects/have nested '.idea' folders in its structure?
Invalidating caches did nothing unfortuately. The project is not nested but there is a server node project in the root level. The React project is in a subfolder to be served by the server. It did work before the update though :/
No idea why but deleting .idea and then reopening the project solved the issue. Thank you for mentioning it!
So its all good now.