JSX / Babel highlighting in PyCharm

I am using PyCharm for a Flask / React combined project. I have a version of JavaScript configured to "JSX Harmony" in the settings, but my code highlighting still looks like this:

No JSX backlight

Is there a plugin I can install to enable JSX highlighting, available in WebStorm but in PyCharm?

+4
source share
1 answer

Nothing. Turns out you need to be inside a standalone JS file, not an inline script.

0
source

Source: https://habr.com/ru/post/1621984/


All Articles